summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-06-27 08:04:18 +0000
committersbd <sbd@pkgsrc.org>2012-06-27 08:04:18 +0000
commit20d0df3ce02682f2e0d661fc5267ae40e79ab038 (patch)
treeeee7861a01729c766388dc58121ce5f4e5ce3a00 /archivers
parenta3800cc8bbc71ca2c9e4910b25df006858d3493e (diff)
downloadpkgsrc-20d0df3ce02682f2e0d661fc5267ae40e79ab038.tar.gz
The correct type for get_crc_table with zlib 1.2.7 is z_crc_t*
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unalz/distinfo4
-rw-r--r--archivers/unalz/patches/patch-ab16
2 files changed, 16 insertions, 4 deletions
diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo
index c584bc34956..a0e6abe6c1b 100644
--- a/archivers/unalz/distinfo
+++ b/archivers/unalz/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.17 2012/05/23 04:11:38 dholland Exp $
+$NetBSD: distinfo,v 1.18 2012/06/27 08:04:18 sbd Exp $
SHA1 (unalz-0.61.tgz) = a6cab2a02b7f44957211e694b7d8d144840b2255
RMD160 (unalz-0.61.tgz) = 68cb957aeacfc8452e01637f7e0a50939d515ab6
Size (unalz-0.61.tgz) = 138152 bytes
SHA1 (patch-UnAlz.h) = c21ec95926b716adf3c6d7145a17440bbb1e81ad
SHA1 (patch-aa) = 327fd080040946fe7a0707698f90d7709a2d3c5b
-SHA1 (patch-ab) = 2e11decd5f1a81cf2012a044241e170f68af424a
+SHA1 (patch-ab) = 7addf1fd9135f1d2b1fc1ddb24db5a5d676c406e
SHA1 (patch-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4
SHA1 (patch-ad) = 0a830c3995600d0c25ae1b32c00df2d0604571d7
diff --git a/archivers/unalz/patches/patch-ab b/archivers/unalz/patches/patch-ab
index 069346083ec..e3543507fde 100644
--- a/archivers/unalz/patches/patch-ab
+++ b/archivers/unalz/patches/patch-ab
@@ -1,6 +1,9 @@
-$NetBSD: patch-ab,v 1.10 2007/10/14 17:50:05 minskim Exp $
+$NetBSD: patch-ab,v 1.11 2012/06/27 08:04:18 sbd Exp $
---- UnAlz.cpp.orig 2007-02-09 21:51:54.000000000 -0800
+* Use system/buildlinked headers.
+* The correct type for get_crc_table with zlib 1.2.7 is z_crc_t*
+
+--- UnAlz.cpp.orig 2007-02-10 05:51:54.000000000 +0000
+++ UnAlz.cpp
@@ -1,5 +1,5 @@
-#include "zlib/zlib.h"
@@ -10,3 +13,12 @@ $NetBSD: patch-ab,v 1.10 2007/10/14 17:50:05 minskim Exp $
#include "UnAlz.h"
// utime ΗΤΌφ Γ³Έ®
+@@ -1891,7 +1891,7 @@ void CUnAlz::DecryptingData(int nSize, B
+ ////////////////////////////////////////////////////////////////////////////////////////////////////
+ UINT32 CUnAlz::CRC32(UINT32 l, BYTE c)
+ {
+- const unsigned long *CRC_TABLE = get_crc_table();
++ const z_crc_t *CRC_TABLE = get_crc_table();
+ return CRC_TABLE[(l ^ c) & 0xff] ^ (l >> 8);
+ }
+