summaryrefslogtreecommitdiff
path: root/textproc/libunicode
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-08-29 14:38:13 +0000
committerrh <rh@pkgsrc.org>2000-08-29 14:38:13 +0000
commit1aa3572147a275b378b85593ac83bed20089d81e (patch)
treee6a2e5e787a20ce03b250042353ccdc91c21a996 /textproc/libunicode
parent86c272194b412425f643cfb4c343433f378d6f54 (diff)
downloadpkgsrc-1aa3572147a275b378b85593ac83bed20089d81e.tar.gz
Make this compile under NetBSD-1.4.x which doesn't define EILSEQ
Diffstat (limited to 'textproc/libunicode')
-rw-r--r--textproc/libunicode/files/patch-sum3
-rw-r--r--textproc/libunicode/patches/patch-aa16
2 files changed, 19 insertions, 0 deletions
diff --git a/textproc/libunicode/files/patch-sum b/textproc/libunicode/files/patch-sum
new file mode 100644
index 00000000000..8df6c9c4821
--- /dev/null
+++ b/textproc/libunicode/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2000/08/29 14:38:13 rh Exp $
+
+MD5 (patch-aa) = 25ff8d021a22adf340c110724697c7c9
diff --git a/textproc/libunicode/patches/patch-aa b/textproc/libunicode/patches/patch-aa
new file mode 100644
index 00000000000..009df68b753
--- /dev/null
+++ b/textproc/libunicode/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2000/08/29 14:38:15 rh Exp $
+
+--- convert.c.orig Fri Sep 3 06:33:27 1999
++++ convert.c
+@@ -30,7 +30,11 @@
+ #ifndef EILSEQ
+ /* On some systems, like SunOS, EILSEQ is not defined. On those
+ systems we use EBADMSG instead. */
++#ifdef EBADMSG
+ # define EILSEQ EBADMSG
++#else
++# define EILSEQ ENOMSG
++#endif
+ #endif
+
+ /* Linked list of all character sets. */