[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[solved] Re: (newbie) patching 3.0 (i386) fails



Oh never mind, I was dumb: I was copy/pasting the patch from the browser,
and ugly formatting was killing the patch. 

On Thu, 20 Dec 2001, claude wrote:

> I fetched the src.tar.gz via ftp, extracted it, everything is in its
> place.
> Then cd /usr/src
> patch -p0 < 008_lpd.patch, which fails, saying:
> 
> --------------------------
> |--- usr.sbin/lpr/lpd/recvjob.c 30 Aug 2001 17:38:13 -0000      1.15
> |+++ usr.sbin/lpr/lpd/recvjob.c 28 Nov 2001 18:55:34 -0000
> --------------------------
> Patching file usr.sbin/lpr/lpd/recvjob.c using Plan A...
> Hunk #1 failed at 179.
> Hunk #2 failed at 204.
> 2 out of 2 hunks failed--saving rejects to usr.sbin/lpr/lpd/recvjob.c.rej
> Hmm...  Ignoring the trailing garbage.
> done
> 
> I have the correct file version of usr.sbin/lpr/lpd/recvjob.c (1.15
> 2001/08/30 17:38:13 millert Exp $).
> 
> This happens with every other patch. What's wrong ?



Visit your host, monkey.org