According to the Kernel-HOWTO I should do the following:

  So, continuing with the example above, let's suppose that you have
  `patch46.gz' in /usr/src. cd to /usr/src  and do a `zcat patch46.gz |
  patch -p0' (or `patch -p0 < patch46' if the patch isn't compressed).
  You'll see things whizz by (or flutter by, if your system is that
  slow) telling you that it is trying to apply hunks, and whether it
  succeeds or not. 

When I follow these instructions the following happens:

[EMAIL PROTECTED](1)$ cat patch-2.2.7-ac4 | patch -p0
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u --new-file --recursive --exclude-from ../exclude 
linux.vanilla/Documentation/00-INDEX linux.ac/Documentation/00-INDEX
|--- linux.vanilla/Documentation/00-INDEX       Tue Feb 23 14:21:32 1999
|+++ linux.ac/Documentation/00-INDEX    Fri May  7 16:34:31 1999
--------------------------
File to patch: linux/*
Skip this patch? [y] 
Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 57
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u --new-file --recursive --exclude-from ../exclude 
linux.vanilla/Documentation/ARM-README linux.ac/Documentation/ARM-README
|--- linux.vanilla/Documentation/ARM-README     Sun Nov  8 15:08:49 1998
|+++ linux.ac/Documentation/ARM-README  Fri May  7 16:34:44 1999
--------------------------
File to patch: 


I have read the man page for patch and it does not help me.

Johann




 --------------------------------------------------------------------------
| Johann Spies                                 Windsorlaan 19              |
| [EMAIL PROTECTED]                3201 Pietermaritzburg             |
| Tel/Faks Nr. +27 331-46-1310                 Suid-Afrika (South Africa)  |
 --------------------------------------------------------------------------

     "Let no man despise thy youth; but be thou an example 
      of the believers, in word, in conversation, in
      charity, in spirit, in faith, in purity."      
                                       I Timothy 4:12

Reply via email to