Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 12:51:18 -0800 (PST)
From:      Brian <bri@sonicboom.org>
To:        John Mills <john.m.mills@alum.mit.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: patching
Message-ID:  <20030107124741.O39895@entwistle.sonicboom.org>
In-Reply-To: <Pine.LNX.4.21.0301071541040.3301-100000@otter.mills-atl.com>
References:  <Pine.LNX.4.21.0301071541040.3301-100000@otter.mills-atl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Right at the top of the patch man page it says:
but usually just

patch <patchfile

I missed the <, my bad although that is most nonintuitive, wtf ever
happened to command argument?  If it needs to read a textfile then have it
read what I put in.

	Bri


On Tue, 7 Jan 2003, John Mills wrote:

> 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 <patchfile
> ...
> =========================================================================
>
> 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 <leadingpath>/<filename>. 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030107124741.O39895>