summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-24 10:00:29 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-24 10:00:29 +0000
commitc627996592b2f4ddc4d2bee5119a4e3aba43d07c (patch)
tree3de03285f2dac8112926ae01d787f42ca56d0719 /textproc
parent2f1a4abbe9795c87c03eca38dfa621f63be5faba (diff)
downloadpkgsrc-c627996592b2f4ddc4d2bee5119a4e3aba43d07c.tar.gz
Fix build; I guess this is a gcc3 issue.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libunicode/distinfo3
-rw-r--r--textproc/libunicode/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/libunicode/distinfo b/textproc/libunicode/distinfo
index dc15d78c04c..7cc90188af9 100644
--- a/textproc/libunicode/distinfo
+++ b/textproc/libunicode/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 15:05:00 skrll Exp $
+$NetBSD: distinfo,v 1.3 2004/01/24 10:00:29 jmmv Exp $
SHA1 (libunicode-0.4.tar.gz) = fbe0ac01ba9baf007908ef54673876c6f5941093
Size (libunicode-0.4.tar.gz) = 215629 bytes
SHA1 (patch-aa) = 29df09e0206e66ba9fb585db12887c0ff818dea1
+SHA1 (patch-ab) = 9c32b9a47a8c851cc4a874d5328bc4feb353f2d7
diff --git a/textproc/libunicode/patches/patch-ab b/textproc/libunicode/patches/patch-ab
new file mode 100644
index 00000000000..614325249ce
--- /dev/null
+++ b/textproc/libunicode/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/01/24 10:00:29 jmmv Exp $
+
+--- utf8.c.orig 1999-10-17 20:46:00.000000000 +0200
++++ utf8.c
+@@ -173,7 +173,7 @@ unicode_get_charset_internal (char **a)
+ if (strcmp (charset, "UTF-8") == 0)
+ return 1;
+ }
+-#elif CODESET
++#elif defined(CODESET)
+ charset = nl_langinfo(CODESET);
+ if (charset)
+ {