Subject: Re: netbsd-3 doesn't build after postinstall pull-up
To: None <current-users@netbsd.org>
From: Ja'far Railton <zen25058@zen.co.uk>
List: current-users
Date: 04/25/2005 13:21:30
On Mon, Apr 25, 2005 at 01:34:59AM +0200, Xavier HUMBERT wrote:
> > Try this (I'm compiling it now, so no result yet, bur seems sensible) :
> 
> Sorry, forget the "man" bit
> 
> --- distrib/sets/lists/man/mi.origin    2005-04-23 04:36:19.000000000 +0200
> +++ distrib/sets/lists/man/mi   2005-04-25 01:33:09.000000000 +0200
> @@ -1999,6 +1999,7 @@
>  ./usr/share/man/cat8/pmppc/boot.0              man-sys-catman          .cat
>  ./usr/share/man/cat8/pmppc/makedev.0           man-obsolete            obsolete
>  ./usr/share/man/cat8/portmap.0                 man-obsolete            obsolete
> +./usr/share/man/cat8/postinstall.0             man-sys-catman          .cat
>  ./usr/share/man/cat8/powerd.0                  man-sysutil-catman      .cat
>  ./usr/share/man/cat8/poweroff.0                        man-sysutil-catman      .cat
>  ./usr/share/man/cat8/pppd.0                    man-ppp-catman          .cat
> @@ -4208,6 +4209,7 @@
>  ./usr/share/man/man8/pmppc/boot.8              man-sys-man             .man
>  ./usr/share/man/man8/pmppc/makedev.8           man-obsolete            obsolete
>  ./usr/share/man/man8/portmap.8                 man-obsolete            obsolete
> +./usr/share/man/man8/postinstall.8             man-sys-man             .man
>  ./usr/share/man/man8/powerd.8                  man-sysutil-man         .man
>  ./usr/share/man/man8/poweroff.8                        man-sysutil-man         .man
>  ./usr/share/man/man8/pppd.8                    man-ppp-man             .man

I have saved this as "netbsd-3-patch" in /usr/src and tried to apply it
with "patch < netbsd-3-patch" but it fails with  

Hmm... Looks like a unified diff to me...
The text leading up to this was 
<snip>
Patching file distrib/sets/lists/man/mi using Plan A...
Hunk #1 failed at 1990
Hunk #2 failed at 4209
2 out of 2 hunks failed--<snip>

What am I doing wrong? Permissions on the patchfile were 774.

-- 
Ja'far ibn Richard Railton