summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorobache <obache>2011-03-27 08:00:56 +0000
committerobache <obache>2011-03-27 08:00:56 +0000
commitac8b556c18d29e7d5222c953912a3305ef6cb477 (patch)
tree0b9dbc4b2a466335de26a6d4646721ef9090bdff /archivers
parent961a0293564ed5031513a34291a4b67c0bb7e95f (diff)
downloadpkgsrc-ac8b556c18d29e7d5222c953912a3305ef6cb477.tar.gz
Allow to build with gcc44.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unalz/distinfo3
-rw-r--r--archivers/unalz/patches/patch-UnAlz.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo
index 4919f3bfae5..b7196cbbbcb 100644
--- a/archivers/unalz/distinfo
+++ b/archivers/unalz/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.15 2007/10/14 17:50:04 minskim Exp $
+$NetBSD: distinfo,v 1.16 2011/03/27 08:00:56 obache 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-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4
diff --git a/archivers/unalz/patches/patch-UnAlz.h b/archivers/unalz/patches/patch-UnAlz.h
new file mode 100644
index 00000000000..8eb2b93458b
--- /dev/null
+++ b/archivers/unalz/patches/patch-UnAlz.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-UnAlz.h,v 1.1 2011/03/27 08:00:57 obache Exp $
+
+* <cstring> for memset(3) and strlen(3)
+* <cstdlib> for free(3)
+
+--- UnAlz.h.orig 2007-02-10 05:55:10.000000000 +0000
++++ UnAlz.h
+@@ -131,6 +131,8 @@
+ #define _UNALZ_H_
+
+ #include <vector>
++#include <cstring>
++#include <cstdlib>
+ using namespace std;
+
+