summaryrefslogtreecommitdiff
path: root/www/snownews/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/snownews/patches/patch-ab')
-rw-r--r--www/snownews/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/snownews/patches/patch-ab b/www/snownews/patches/patch-ab
new file mode 100644
index 00000000000..8f7d69c1ad5
--- /dev/null
+++ b/www/snownews/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/12/27 23:04:23 wiz Exp $
+
+--- ../snownews-1.4.2.orig/conversions.c 2003-12-23 04:10:35.000000000 -0700
++++ conversions.c 2003-12-23 15:19:48.000000000 -0700
+@@ -55,7 +55,7 @@
+ return NULL;
+ }
+
+- if (iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft) == -1) {
++ if (iconv (cd, (const char **)&inbuf, &inbytesleft, &outbuf, &outbytesleft) == -1) {
+ return NULL;
+ }
+