pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/libarchive Don't include <inttypes.h> uncond...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ac51c4e1189
branches:  trunk
changeset: 490738:6ac51c4e1189
user:      tv <tv%pkgsrc.org@localhost>
date:      Sat Mar 19 04:43:41 2005 +0000

description:
Don't include <inttypes.h> unconditionally.  Unfortunately, HAVE_INTTYPES_H
is not available in the generated archive.h, so put in an __INTERIX
conditional (for now -- but this means a PKGREVISION bump, sigh).

diffstat:

 archivers/libarchive/Makefile         |   3 ++-
 archivers/libarchive/distinfo         |   3 ++-
 archivers/libarchive/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r c988ec90cad4 -r 6ac51c4e1189 archivers/libarchive/Makefile
--- a/archivers/libarchive/Makefile     Sat Mar 19 03:32:36 2005 +0000
+++ b/archivers/libarchive/Makefile     Sat Mar 19 04:43:41 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2005/02/14 08:20:10 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2005/03/19 04:43:41 tv Exp $
 #
 
 DISTNAME=      libarchive-1.02.006
+PKGREVISION=   1
 CATEGORIES=    archivers
 MASTER_SITES=  http://people.freebsd.org/~kientzle/libarchive/src/
 
diff -r c988ec90cad4 -r 6ac51c4e1189 archivers/libarchive/distinfo
--- a/archivers/libarchive/distinfo     Sat Mar 19 03:32:36 2005 +0000
+++ b/archivers/libarchive/distinfo     Sat Mar 19 04:43:41 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 14:45:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/03/19 04:43:41 tv Exp $
 
 SHA1 (libarchive-1.02.006.tar.gz) = a46853fe4fd7b7e5863194941325059fbb159d21
 RMD160 (libarchive-1.02.006.tar.gz) = edd5ce6bc02f652866b05b72b79315afa6e106a9
 Size (libarchive-1.02.006.tar.gz) = 197446 bytes
+SHA1 (patch-aa) = dd8464a576b6524ffd107c32b7fccf5c1426d4d2
diff -r c988ec90cad4 -r 6ac51c4e1189 archivers/libarchive/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/patches/patch-aa     Sat Mar 19 04:43:41 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2005/03/19 04:43:41 tv Exp $
+
+--- archive.h.in.orig  Sat Feb 12 18:41:52 2005
++++ archive.h.in
+@@ -52,7 +52,9 @@ int          archive_api_feature(void);
+ const char *  archive_version(void);
+ 
+ #include <sys/types.h>  /* Linux requires this for off_t */
++#ifndef __INTERIX
+ #include <inttypes.h>  /* For int64_t */
++#endif
+ #include <unistd.h>  /* For ssize_t and size_t */
+ 
+ #define       ARCHIVE_BYTES_PER_RECORD          512



Home | Main Index | Thread Index | Old Index