LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Greg Lehey <grog@lemis.com>
To : Andrew Reid <andrew.reid@plug.cx>
Date: Fri, 8 Jun 2001 13:54:35 +0930
Re: .diff files and patching
On Friday, 8 June 2001 at 14:25:22 +0930, Andrew Reid wrote:
> Hmm...
>
> I've just started compiling Ximian GNOME -- they provide the source in the
> form of the original software plus a diff file which has all the Ximian
> changes.
>
> They provide said changes in a .diff file. What I'd like to know is how I
> apply this diff file to the original source.
>
> Can someone advise here? Is it through the use of patch?
Well, if .diff means a normal diff, then yes. patch < diff. Of
course, that assumes that you have the correct pathnames in the diff.
Read patch(1) and pay special attention to the -p flag.
Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page