Hi Roy,

Normally, the command is 
        patch -p0 < filename.diff

Make sure you are cd'd into the source directory before running that. 
The number after the -p option identifies the number of directories to
strip off the filenames in the diff file (in this case zero).  If you
get a bunch of horrible errors after running that, you might need "-p1"
or something.  Often there will be instructions with the diff file
specifying this if necessary.

Hope this helps,

Jeremy

On Mon, 2002-11-04 at 09:40, Roy Vestal wrote:
> I have a "n00b" question:
> When someone releases a .diff file, I recognize this as a change that needs to occur 
>to what ever you are compiling (in my case, tkrat). How do you apply this, using 
>"patch"?


_______________________________________________
TriLUG mailing list
    http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html

Reply via email to