diff options
author | tv <tv@pkgsrc.org> | 2005-03-19 04:43:41 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-03-19 04:43:41 +0000 |
commit | df1dcd0fedf76911581cc3251ab6062a94f14257 (patch) | |
tree | cb9cccf186a684c1fd99144fa7ed153ca17a377f /archivers | |
parent | 34e2a63b76a7f17d31b7f8eae89cb981a5af831d (diff) | |
download | pkgsrc-df1dcd0fedf76911581cc3251ab6062a94f14257.tar.gz |
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 (limited to 'archivers')
-rw-r--r-- | archivers/libarchive/Makefile | 3 | ||||
-rw-r--r-- | archivers/libarchive/distinfo | 3 | ||||
-rw-r--r-- | archivers/libarchive/patches/patch-aa | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile index ae318b6c0c1..c5fbe9f5be5 100644 --- a/archivers/libarchive/Makefile +++ b/archivers/libarchive/Makefile @@ -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 --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo index 8cc2d97d215..eda633fe410 100644 --- a/archivers/libarchive/distinfo +++ b/archivers/libarchive/distinfo @@ -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 --git a/archivers/libarchive/patches/patch-aa b/archivers/libarchive/patches/patch-aa new file mode 100644 index 00000000000..e387af3bc3f --- /dev/null +++ b/archivers/libarchive/patches/patch-aa @@ -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 |