From owner-freebsd-questions Thu Dec 5 3:41:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E67437B401 for ; Thu, 5 Dec 2002 03:41:58 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D348943ECF for ; Thu, 5 Dec 2002 03:41:51 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gB5BfZOR091846 for ; Thu, 5 Dec 2002 11:41:35 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gB5BfU9x091845 for freebsd-questions@FreeBSD.ORG; Thu, 5 Dec 2002 11:41:30 GMT Date: Thu, 5 Dec 2002 11:41:30 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: patching a file Message-ID: <20021205114130.GA91742@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <1039016799.61750.9.camel@x74-47.forestry.umn.edu> <20021204162203.GB83234@happy-idiot-talk.infracaninophi> <20021205103852.GV56031@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021205103852.GV56031@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Dec 05, 2002 at 11:38:52AM +0100, Roman Neuhauser wrote: > # m.seaman@infracaninophile.co.uk / 2002-12-04 16:22:03 +0000: > > On Wed, Dec 04, 2002 at 09:46:40AM -0600, Kirk R. Wythers wrote: > > > Problem is, I confused over how to apply a patch to something in the > > > ports system. My ports tree is up to date, but I dont't see the source > > > in /usr/ports/converters/recode that the patch should be applied to. > > > Also, running "file" on /usr/ports/distfiles/recode-3.6.tar.gz returns > > > "file is empty". I thought that I could unpack the tarball manually > > > apply the patch, then tar it back up and build the port. I seem to be > > > all wet on this. > > > > No --- the source tarball will be downloaded to /usr/ports/distfile > > (make fetch) from whence it will be compared to the pre-recorded > > checksum (make checksum), and then untarred into the work directory > > make extract > > > and the patches applied (make unpack). > > make patch > > or has it changed lately? I'm right about 'make checksum', but I must yeild the point to you over 'make extract' and 'make patch'. You're right, and I should have looked at the ports(7) man page before sending. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message