Subject: Re: pkg/36696: pkg_install fails to build on Solaris - stdint.h
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-bugs
Date: 07/28/2007 17:20:03
The following reply was made to PR pkg/36696; it has been noted by GNATS.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/36696: pkg_install fails to build on Solaris - stdint.h
Date: Sun, 29 Jul 2007 02:18:08 +0900

 On Sun, 29 Jul 2007 02:05:01 +0900, <sd4dfg2@hotmail.com> wrote:
 
 > cc -DHAVE_CONFIG_H -DDEF_UMASK=3D022 -DPREFIX=3D"\"/usr/pkg\"" -DSYSCO=
 NFDIR=3D"\"/usr/pkg/etc\"" -I/usr/obj/pkg/pkgtools/pkg_install/work/libn=
 bcompat -I. -I../lib -DHOST=3D\"sparc-sun-solaris2\" -DPKGSRC -DPREFIX=3D=
 \"/usr/pkg\" -DSYSCONFDIR=3D\"/usr/pkg/etc\" -O -pipe -Wall -c audit-pac=
 kages.c -o audit-packages.o
 > audit-packages.c:46:20: stdint.h: No such file or directory
 
 Change:
 
 #ifdef HAVE_INTTYPES_H
 #include <stdint.h>
 #endif
 
 To:
 
 #ifdef HAVE_STDINT_H
 #include <stdint.h>
 #endif
 
 fixes this problem?
 
 -- =
 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org