Ard van der Leeuw wrote:

> the patch command I use is:
>
> cd /usr/src/linux
> patch -p 1 -l -F 3 < patch-2.2.14-irda1

[...snip...]

> which results in several hunks being rejected....
> I'm rather new to using the 'patch' mechanism. Anybody any clues to what
> I'm doing wrong?

     Try decompressing the kernel sources in /usr/src/linux-2.2.14, then copy
the patch to /usr/src and run "patch -p0 < patch-2.2.14-irda1". This worked
fine for me. If this doesn't work, do the following:

              1. Check the patch file to make sure it is ungzipped.
Sometimes, the program you use to download the file strips it's ".gz"
extension but leaves the file compressed, and even if you try to look at it
using mc or "less", it seems to be text (cause these programs pipe the input
through "gunzip" first). So, the best way to make sure is to check the size
of the file. On my system, the compressed patch is 283,781 bytes, while
uncompressed it is 1,381,382 bytes.
               2. Make sure you are using a new "patch" (the program), some
versions are known to have bugs. Mine is 2.5.3 and works ok.
               3. If all this fails, then probably your kernel source or
patch file are somewhat corrupted. Try downloading them again, maybe from a
different source.

     Hope this helps,
               Mihnea

--
"Tenebus Ipsilo Ibinem Catehens"
MtSW




_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to