pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/unalz Use const char*, instead of char*, for...
details: https://anonhg.NetBSD.org/pkgsrc/rev/840fecc760cb
branches: trunk
changeset: 493961:840fecc760cb
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue May 17 16:11:42 2005 +0000
description:
Use const char*, instead of char*, for the second parameter of iconv()
on Darwin.
diffstat:
archivers/unalz/distinfo | 4 ++--
archivers/unalz/patches/patch-ab | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 75616827242b -r 840fecc760cb archivers/unalz/distinfo
--- a/archivers/unalz/distinfo Tue May 17 15:34:46 2005 +0000
+++ b/archivers/unalz/distinfo Tue May 17 16:11:42 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/03/11 22:18:27 rillig Exp $
+$NetBSD: distinfo,v 1.5 2005/05/17 16:11:42 minskim Exp $
SHA1 (unalz-0.31.tgz) = 0d6f21b1fc9b00c5ca763b4e402c792ebe045fc9
RMD160 (unalz-0.31.tgz) = 23ccefe2b29b8127c15ebf4f93e313316ad34510
Size (unalz-0.31.tgz) = 129623 bytes
SHA1 (patch-aa) = 35072979d009ff4a0d110e64aeac99e2f7a584cc
-SHA1 (patch-ab) = 18d0cfe73125a91c671c70b5a523e9834fdc70e1
+SHA1 (patch-ab) = 0cef7822315c30d1f0f37155cb746ac014d5d382
diff -r 75616827242b -r 840fecc760cb archivers/unalz/patches/patch-ab
--- a/archivers/unalz/patches/patch-ab Tue May 17 15:34:46 2005 +0000
+++ b/archivers/unalz/patches/patch-ab Tue May 17 16:11:42 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2005/03/11 22:18:27 rillig Exp $
+$NetBSD: patch-ab,v 1.3 2005/05/17 16:11:42 minskim Exp $
This patch assumes that on NetBSD, every <iconv.h> has the non-const
prototype argument for the second parameter of iconv(). This is true for
@@ -32,7 +32,7 @@
char inbuf[ICONV_BUF_SIZE];
char outbuf[ICONV_BUF_SIZE];
-#if defined(__FreeBSD__) || defined(__CYGWIN__)
-+#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__NetBSD__)
const char *inptr = inbuf;
#else
char *inptr = inbuf;
Home |
Main Index |
Thread Index |
Old Index