Chris Rauschuber wrote:
>
> Hi everyone,
>
> I'm trying to apply a patch for the first time and having a little
> trouble getting it to work.
> Here's what I try to run and the message I get:
>
> linux:/usr/src # patch -p1 < patch-2_2_14-irda1
> (Stripping trailing CRs from patch.)
> 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 -urpN linux-2.2.14/Documentation/Configure.help
> linux-2.2.14-irda-patch/Documentation/Configure.help
> |--- linux-2.2.14/Documentation/Configure.help Tue Jan 4 19:12:10 2000
>
> |+++ linux-2.2.14-irda-patch/Documentation/Configure.help Wed Jan
> 5 23:41:16 2000
> --------------------------
> File to patch:
>
> >>>>
> Am I using the wrong command? As you can see, I'm using the
> 2.2.14-irda1 patch, although I've tried the same thing with other
> patches, with the same result.
> Can someone please tell me what I'm doing wrong?
Sure.
The easiest is to cd into linux, then apply the patch as you did, with
p1.
>From /usr/src you would use p0, but you would have to either rename your
linux directory to linux-2.2.14-irda-patch or make a symlink. But it
looks like this patch could be reversed anyway, so be careful.
Garst
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda