From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI,RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from as1-4-5-1.han.s.bonet.se ([194.236.131.211] helo=bender.hallendal.net) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15b8Ov-0002KN-00 for gentoo-dev@cvs.gentoo.org; Sun, 26 Aug 2001 16:29:05 -0600 Received: from zoidberg.hallendal.net (unknown [192.168.0.10]) by bender.hallendal.net (Postfix) with ESMTP id DEC554E01 for ; Mon, 27 Aug 2001 00:29:19 +0200 (CEST) Subject: Re: [gentoo-dev] patch file ? From: Mikael Hallendal To: gentoo-dev@cvs.gentoo.org In-Reply-To: <20010826103919.B5807@cvs.gentoo.org> References: <20010826103919.B5807@cvs.gentoo.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.12 (Preview Release) Message-Id: <998872179.29942.15.camel@zoidberg> Mime-Version: 1.0 Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Aug 26 16:30:01 2001 X-Original-Date: 27 Aug 2001 00:29:39 +0000 X-Archives-Salt: 44b575ad-86ac-4088-a48a-cf43cbccf84e X-Archives-Hash: 52fd8f111120d976fc458d8473697ef4 Den 26 Aug 2001 10:39:19 -0600 skrev Parag Mehta: > > Hi ALl, > > How does one create a patch or diff file ? > i hv an ebuild for a pkg where in i need to change some files after unpack the pkg src. > > thanx in advance. Hi! If you have to change many files it's best to make two copies of the source and name them like: directory.orig directory make your changes in directory and then put yourself in the directory containing both directories and typ diff -u directory.orig directory > my_file.patch Regards, Mikael Hallendal -- Mikael Hallendal Gentoo Linux Developer, Desktop Team Leader CodeFactory AB, Stockholm, Sweden