pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/libarchive/files/libarchive include both int...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcb4f99ce244
branches:  trunk
changeset: 399262:fcb4f99ce244
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Sep 16 06:55:45 2009 +0000

description:
include both inttypes.h and stdint.h.  patch taken from upstream r897.
Fixes build failure on SUA 6.0.

diffstat:

 archivers/libarchive/files/libarchive/archive_platform.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 6d0c4ea2498a -r fcb4f99ce244 archivers/libarchive/files/libarchive/archive_platform.h
--- a/archivers/libarchive/files/libarchive/archive_platform.h  Wed Sep 16 02:53:56 2009 +0000
+++ b/archivers/libarchive/files/libarchive/archive_platform.h  Wed Sep 16 06:55:45 2009 +0000
@@ -70,7 +70,8 @@
 /* Try to get standard C99-style integer type definitions. */
 #if HAVE_INTTYPES_H
 #include <inttypes.h>
-#elif HAVE_STDINT_H
+#endif
+#if HAVE_STDINT_H
 #include <stdint.h>
 #endif
 



Home | Main Index | Thread Index | Old Index