aboutsummaryrefslogtreecommitdiff
path: root/japanese/canna-lib
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-26 03:10:46 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-26 03:10:46 +0000
commitd3b6a0557b8db9df5fd9c27b605ff10e32f2c8a1 (patch)
treef6cfe2fadbec74eab73e2fe48b337816a78b55cb /japanese/canna-lib
parent742e6fd884b497370d1bbc2a7e06251940cabe9f (diff)
downloadports-d3b6a0557b8db9df5fd9c27b605ff10e32f2c8a1.tar.gz
ports-d3b6a0557b8db9df5fd9c27b605ff10e32f2c8a1.zip
Notes
Diffstat (limited to 'japanese/canna-lib')
-rw-r--r--japanese/canna-lib/files/patch-al26
1 files changed, 26 insertions, 0 deletions
diff --git a/japanese/canna-lib/files/patch-al b/japanese/canna-lib/files/patch-al
new file mode 100644
index 000000000000..84d0c4172999
--- /dev/null
+++ b/japanese/canna-lib/files/patch-al
@@ -0,0 +1,26 @@
+--- canna/widedef.h.OLD Sat Oct 26 11:59:11 2002
++++ canna/widedef.h Sat Oct 26 12:04:56 2002
+@@ -35,7 +35,7 @@
+ #define WCHAR16
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__NetBSD__)
+ # include <machine/ansi.h>
+ #endif
+
+@@ -61,7 +61,13 @@
+ #endif /* !nec_ews_svr2 */
+ #endif /* HAVE_WCHAR_OPERATION */
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__)
++# ifdef WCHAR16
++# warning FreeBSD does not use 16-bit wide character types
++# endif
++# include <stddef.h>
++# define _WCHAR_T
++#elif defined(__NetBSD__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_
+ # ifdef WCHAR16