pkgsrc-Bugs archive

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

RE: pkg/41391 (can't bootstrap pkgsrc on AIX 4.1.5 (devel/nbpatch patch))



The following reply was made to PR pkg/41391; it has been noted by GNATS.

From: "Larson, Timothy E." <TELarson%west.com@localhost>
To: "'gnats-bugs%NetBSD.org@localhost'" <gnats-bugs%NetBSD.org@localhost>,
        "pkg-manager%netbsd.org@localhost" <pkg-manager%netbsd.org@localhost>,
        "pkgsrc-bugs%netbsd.org@localhost"
        <pkgsrc-bugs%netbsd.org@localhost>,
        "gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>
Cc: 
Subject: RE: pkg/41391 (can't bootstrap pkgsrc on AIX 4.1.5 (devel/nbpatch
 patch))
Date: Mon, 11 May 2009 14:58:08 -0500

 Hmmm, this time around I am not seeing the same problems I did the first ti=
 me, which is very odd.  Maybe having previously bootstrapped on this system=
  changed something, even though I tried to clean everything up.  Anyway, he=
 re's the error.
 
 ranlib libnbcompat.a
 =3D=3D=3D> Building for nbpatch-20080910
 gcc -O -static  -Werror  -DHAVE_NBCOMPAT_H=3D1 -I/usr/pkgsrc/devel/nbpatch/=
 work.0024fc004c00/libnbcompat -c patch.c
 gcc -O -static  -Werror  -DHAVE_NBCOMPAT_H=3D1 -I/usr/pkgsrc/devel/nbpatch/=
 work.0024fc004c00/libnbcompat -c pch.c
 gcc -O -static  -Werror  -DHAVE_NBCOMPAT_H=3D1 -I/usr/pkgsrc/devel/nbpatch/=
 work.0024fc004c00/libnbcompat -c inp.c
 inp.c: In function `plan_a':
 inp.c:268: `MAP_FAILED' undeclared (first use in this function)
 inp.c:268: (Each undeclared identifier is reported only once
 inp.c:268: for each function it appears in.)
 *** Error code 1
 
 Stop.
 
 Here's the new patch.
 
 Index: files/inp.c
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/devel/nbpatch/files/inp.c,v
 retrieving revision 1.3
 diff -u -p -r1.3 inp.c
 --- files/inp.c 9 May 2009 20:00:39 -0000       1.3
 +++ files/inp.c 11 May 2009 18:57:07 -0000
 @@ -39,6 +39,9 @@
  #include <sys/file.h>
  #include <sys/stat.h>
  #include <sys/mman.h>
 +#ifndef MAP_FAILED
 +#define MAP_FAILED (void *)-1
 +#endif
 
  #include <ctype.h>
  #include <libgen.h>
 
 
 Tim
 --
       Tim Larson=A0=A0=A0=A0=A0=A0=A0 AMT2 Unix Systems Administrator
 =A0=A0=A0       InterCall, a division of West Corporation
 
 Be always sure you are right, then go ahead. - David Crockett
 


Home | Main Index | Thread Index | Old Index