On Sun, 02 Apr 2000,  Erik Jakobsen wrote about,  Works.:
> Hi again Richard.
> 
> Thanks for your advice -man gpm-. As you can see it works.
> 
> Below you see the result of the trying to get a .gz file patched, but
> what is happening ??.
> 
> I cannot see what name I shal give the "File to patch:".
> 

The reason it does not work properly is because the patch file is not made
in a conventional way, the directory name is different to yours, this is
why patch has the -p option.

You are in /usr/src/ and using -p0 do;
cd linux

gzip -dc /tmp/kctt/patch/kct0_02-2.2.13-patch.diff.gz | patch -p1 -s

The -p strips off the amount of "/" given in this case it will interpret the
command as
  Documentation/Configure.help
 
> 
> 
> linux:~ # gzip -dc /tmp/kctt/patch/kct0_02-2.2.13-patch.diff.gz | patch
> -p0 -s
> The text leading up to this was:
> --------------------------
> |diff -u --recursive --new-file
> linux2.2.old/Documentation/Configure.help
> linux2.2/Documentation/Configure.help
> |--- linux2.2.old/Documentation/Configure.help  Sun Dec 26 18:26:28 1999
> |+++ linux2.2/Documentation/Configure.help      Sun Dec 26 20:31:56 1999
> --------------------------
> File to patch: 
linux/Documentation/Configure.help

But you would need to type "every path, fully for every file to patch".

> 
> Can you maybe give me a hint in the progressing ??.
> 
> 
> -- 
> Erik Jakobsen - OZ4KK - [EMAIL PROTECTED]      
> SuSE Linux 6.3
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to