Subject: Re: Upgrading from 1.4 using patches
To: Ian P. Thomas <ipthomas_77@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 12/01/2001 23:03:27
On Sat, Dec 01, 2001 at 04:50:19PM -0500, Ian P. Thomas wrote:
> > Assuming you have the 1.4 sources extracted in /usr/src:
> > cd /usr/src
> > patch -p1 < /tmp/diff-1.4-to-1.4.1.gz
> > etc ...
> >
> > Just a guess, I didn't try :)
> >
> > --
> > Manuel Bouyer <bouyer@antioche.eu.org>
> > --
> >
> 	I went into /usr/src and did as you suggested, but I don't think it 
> worked.  After a beep and a bunch of symbols shot across the screen, I got a prompt asking me 
> 
> File to patch:
> No file found -- skip this patch? [n]
> 
> I choose y because I have no idea what file they are looking for.  The file is a binary one so I can't check if -p1 is right.  I'm afraid more info is still 
> needed.  

Ops, sorry. You need to gunzip the patch files first.
So it will be:
patch -p1 < /tmp/diff-1.4-to-1.4.1.gz

This should also work:
zcat /tmp/diff-1.4-to-1.4.1.gz | patch -p1

--
Manuel Bouyer <bouyer@antioche.eu.org>
--