From owner-freebsd-questions Tue Jan 7 12:51:23 2003 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 5D61D37B401 for ; Tue, 7 Jan 2003 12:51:21 -0800 (PST) Received: from entwistle.sonicboom.org (node-423a3b1b-san-onnet.worldcom.com [66.58.59.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B065E43EA9 for ; Tue, 7 Jan 2003 12:51:20 -0800 (PST) (envelope-from bri@sonicboom.org) Received: from entwistle.sonicboom.org (localhost.sonicboom.org [127.0.0.1]) by entwistle.sonicboom.org (8.12.6/8.12.6) with ESMTP id h07KpI25040086; Tue, 7 Jan 2003 12:51:18 -0800 (PST) (envelope-from bri@sonicboom.org) Received: from localhost (bri@localhost) by entwistle.sonicboom.org (8.12.6/8.12.6/Submit) with ESMTP id h07KpIwQ040083; Tue, 7 Jan 2003 12:51:18 -0800 (PST) X-Authentication-Warning: entwistle.sonicboom.org: bri owned process doing -bs Date: Tue, 7 Jan 2003 12:51:18 -0800 (PST) From: Brian To: John Mills Cc: questions@FreeBSD.ORG Subject: Re: patching In-Reply-To: Message-ID: <20030107124741.O39895@entwistle.sonicboom.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Right at the top of the patch man page it says: but usually just patch Freebies - > > On Tue, 7 Jan 2003, Brian wrote: > > > I downloaded the relevant patch and .asc files to /tmp this am, and then > > execute > > > > patch /tmp/filedesc.patch > > >From 'man patch': > ========================================================================= > patch - apply a diff file to an original > > SYNOPSIS > patch [options] [origfile [patchfile]] [+ [options] [orig- > file]]... > > but usually just > > patch ... > ========================================================================= > > so try: > patch < /tmp/filedesc.patch > > > You may need to use '-p[1 2 3 ...]' depending on the relative paths to > directory from which the patch was made and to where you are applying the > patches. The usual indicator for this is an error message to the effect: > 'Cannot find file /. Name of file to patch:' > > - John Mills > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message