[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[solved] Re: (newbie) patching 3.0 (i386) fails
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: [solved] Re: (newbie) patching 3.0 (i386) fails
- From: <ubik_(_at_)_telecomsm_(_dot_)_multiarea_(_dot_)_ro>
- Date: Fri, 21 Dec 2001 09:50:00 +0200 (EET)
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