summaryrefslogtreecommitdiff
path: root/textproc/libunicode/patches
diff options
context:
space:
mode:
authorrh <rh>2000-08-29 14:38:13 +0000
committerrh <rh>2000-08-29 14:38:13 +0000
commit3906d6c1f60d86775263607c6b60bd93459987f3 (patch)
treee6a2e5e787a20ce03b250042353ccdc91c21a996 /textproc/libunicode/patches
parent352297dde22e02c06ecc8ac667eb349710b1517f (diff)
downloadpkgsrc-3906d6c1f60d86775263607c6b60bd93459987f3.tar.gz
Make this compile under NetBSD-1.4.x which doesn't define EILSEQ
Diffstat (limited to 'textproc/libunicode/patches')
-rw-r--r--textproc/libunicode/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
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. */