summaryrefslogtreecommitdiff
path: root/archivers/unalz
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 04:11:38 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 04:11:38 +0000
commit2ddb38e0f51a1595affdc2565931b2811a55b311 (patch)
treeafe8f3cec3e9e67abfa110914d8cb5a5ac0b67fc /archivers/unalz
parentd0f85fa8dc0ebf47551f57551e01391be272f326 (diff)
downloadpkgsrc-2ddb38e0f51a1595affdc2565931b2811a55b311.tar.gz
Apply const to fix build with recent gcc.
Diffstat (limited to 'archivers/unalz')
-rw-r--r--archivers/unalz/distinfo4
-rw-r--r--archivers/unalz/patches/patch-ad18
2 files changed, 16 insertions, 6 deletions
diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo
index b7196cbbbcb..c584bc34956 100644
--- a/archivers/unalz/distinfo
+++ b/archivers/unalz/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2011/03/27 08:00:56 obache Exp $
+$NetBSD: distinfo,v 1.17 2012/05/23 04:11:38 dholland Exp $
SHA1 (unalz-0.61.tgz) = a6cab2a02b7f44957211e694b7d8d144840b2255
RMD160 (unalz-0.61.tgz) = 68cb957aeacfc8452e01637f7e0a50939d515ab6
@@ -7,4 +7,4 @@ SHA1 (patch-UnAlz.h) = c21ec95926b716adf3c6d7145a17440bbb1e81ad
SHA1 (patch-aa) = 327fd080040946fe7a0707698f90d7709a2d3c5b
SHA1 (patch-ab) = 2e11decd5f1a81cf2012a044241e170f68af424a
SHA1 (patch-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4
-SHA1 (patch-ad) = cc0951b807e25b5f8097583d674b5ed9ff24f5c7
+SHA1 (patch-ad) = 0a830c3995600d0c25ae1b32c00df2d0604571d7
diff --git a/archivers/unalz/patches/patch-ad b/archivers/unalz/patches/patch-ad
index b237a2cfb59..56bec0fb334 100644
--- a/archivers/unalz/patches/patch-ad
+++ b/archivers/unalz/patches/patch-ad
@@ -1,9 +1,10 @@
-$NetBSD: patch-ad,v 1.1 2005/10/22 18:12:09 rillig Exp $
+$NetBSD: patch-ad,v 1.2 2012/05/23 04:11:38 dholland Exp $
-<locale.h> is needed to declare LC_ALL.
+ - <locale.h> is needed to declare LC_ALL.
+ - update const compliance for recent C++ compilers
---- main.cpp.orig Wed Jul 27 15:31:54 2005
-+++ main.cpp Sat Oct 22 20:10:14 2005
+--- main.cpp.orig 2007-02-10 15:08:27.000000000 +0000
++++ main.cpp
@@ -2,6 +2,7 @@
# pragma warning( disable : 4786 ) // stl warning ¾ø¾Ö±â
#endif
@@ -12,3 +13,12 @@ $NetBSD: patch-ad,v 1.1 2005/10/22 18:12:09 rillig Exp $
#include <stdio.h>
#include <iostream>
#include <time.h>
+@@ -131,7 +132,7 @@ int main(int argc, char* argv[])
+
+ CUnAlz unalz;
+ char* source=NULL;
+- char* destpath=".";
++ const char* destpath=".";
+ char* destcodepage=NULL;
+ char* password=NULL;
+ int count;