summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2011-02-08 20:15:17 +0000
committerjakllsch <jakllsch>2011-02-08 20:15:17 +0000
commit318f224ae704baf35475e9b28fd4b20dbaac6938 (patch)
treece7bc75ea355c7fd2b5a7d908f136f74ee61bbba /archivers
parent73f30d4948d5fd06a4d7a3b0db39aa04b0a1ff48 (diff)
downloadpkgsrc-318f224ae704baf35475e9b28fd4b20dbaac6938.tar.gz
Remove artificial 2GiB file size limitation in cabextract. Bump pkgrev.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/cabextract/Makefile3
-rw-r--r--archivers/cabextract/distinfo3
-rw-r--r--archivers/cabextract/patches/patch-mspack_system.h33
3 files changed, 37 insertions, 2 deletions
diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile
index 52834f645b6..0c1dd213afb 100644
--- a/archivers/cabextract/Makefile
+++ b/archivers/cabextract/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2010/07/24 08:45:14 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2011/02/08 20:15:17 jakllsch Exp $
#
DISTNAME= cabextract-1.3
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.cabextract.org.uk/
diff --git a/archivers/cabextract/distinfo b/archivers/cabextract/distinfo
index 33e8b37fd0a..dc937a9356c 100644
--- a/archivers/cabextract/distinfo
+++ b/archivers/cabextract/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2010/07/24 08:45:14 wiz Exp $
+$NetBSD: distinfo,v 1.11 2011/02/08 20:15:17 jakllsch Exp $
SHA1 (cabextract-1.3.tar.gz) = 112469b9e58497a5cfa2ecb3d9eeb9d3a4151c9f
RMD160 (cabextract-1.3.tar.gz) = a02fc161719d57cbee934f0a12ed5441ec7ddc27
Size (cabextract-1.3.tar.gz) = 217633 bytes
+SHA1 (patch-mspack_system.h) = 430f3033a81640481e9667084c8b074435b62e36
diff --git a/archivers/cabextract/patches/patch-mspack_system.h b/archivers/cabextract/patches/patch-mspack_system.h
new file mode 100644
index 00000000000..029bc062173
--- /dev/null
+++ b/archivers/cabextract/patches/patch-mspack_system.h
@@ -0,0 +1,33 @@
+$NetBSD: patch-mspack_system.h,v 1.1 2011/02/08 20:15:18 jakllsch Exp $
+Autoconf has already assured us of a 64-bit off_t.
+
+--- mspack/system.h.orig 2010-06-17 23:46:06.000000000 +0000
++++ mspack/system.h
+@@ -15,6 +15,7 @@
+ # include <config.h>
+ #endif
+
++#include <inttypes.h>
+ #include <mspack.h>
+
+ /* fix for problem with GCC 4 and glibc (thanks to Ville Skytta)
+@@ -53,17 +54,8 @@
+ # include <limits.h>
+ #endif
+
+-#if ((defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS >= 64) || \
+- (defined(FILESIZEBITS) && FILESIZEBITS >= 64) || \
+- defined(_LARGEFILE_SOURCE) || defined(_LARGEFILE64_SOURCE))
+-# define LARGEFILE_SUPPORT
+-# define LD "lld"
+-# define LU "llu"
+-#else
+-extern const char *largefile_msg;
+-# define LD "ld"
+-# define LU "lu"
+-#endif
++#define LARGEFILE_SUPPORT
++#define LD PRId64
+
+ /* endian-neutral reading of little-endian data */
+ #define __egi32(a,n) ( ((((unsigned char *) a)[n+3]) << 24) | \