Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 15:48:17 -0500 (EST)
From:      John Mills <jmmills@telocity.com>
To:        Brian <bri@sonicboom.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: patching
Message-ID:  <Pine.LNX.4.21.0301071541040.3301-100000@otter.mills-atl.com>
In-Reply-To: <20030107121915.P39895@entwistle.sonicboom.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?Pine.LNX.4.21.0301071541040.3301-100000>