Subject: Re: pkg/36696: pkg_install fails to build on Solaris - stdint.h
To: None <adrianp@NetBSD.org, gnats-admin@netbsd.org,>
From: Adrian Portelli <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 07/28/2007 17:45:02
The following reply was made to PR pkg/36696; it has been noted by GNATS.
From: Adrian Portelli <adrianp@stindustries.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/36696: pkg_install fails to build on Solaris - stdint.h
Date: Sat, 28 Jul 2007 18:43:48 +0100
Hi,
Does the following fix it for you ?
thanks,
adrian.
Index: pkg_install/files/audit-packages/audit-packages.c
===================================================================
RCS file:
/cvsroot/pkgsrc/pkgtools/pkg_install/files/audit-packages/audit-packages.c,v
retrieving revision 1.6
diff -u -r1.6 audit-packages.c
--- pkg_install/files/audit-packages/audit-packages.c 26 Jul 2007
11:27:58 -0000 1.6
+++ pkg_install/files/audit-packages/audit-packages.c 28 Jul 2007
17:37:30 -0000
@@ -42,7 +42,7 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_INTTYPES_H
+#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#if defined(HAVE_ERR_H) || !defined(PKGSRC)