summaryrefslogtreecommitdiff
path: root/inputmethod/canna/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-29 15:29:11 +0000
committerjoerg <joerg>2005-12-29 15:29:11 +0000
commitc93e7b28c63c5465a25f1caef1c0105c80f87f0c (patch)
treed7a1e627b21fe032be4ab682485cb77c9791a961 /inputmethod/canna/patches
parentf89e67c8868b6d565c982c178593f799e20a9087 (diff)
downloadpkgsrc-c93e7b28c63c5465a25f1caef1c0105c80f87f0c.tar.gz
DragonFly wchar_t support.
Diffstat (limited to 'inputmethod/canna/patches')
-rw-r--r--inputmethod/canna/patches/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/inputmethod/canna/patches/patch-ae b/inputmethod/canna/patches/patch-ae
new file mode 100644
index 00000000000..6fdc672a2d0
--- /dev/null
+++ b/inputmethod/canna/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1 2005/12/29 15:29:12 joerg Exp $
+
+--- canna/widedef.h.orig 2003-09-12 14:32:52.000000000 +0000
++++ canna/widedef.h
+@@ -66,7 +66,10 @@
+ #endif /* !nec_ews_svr2 */
+ #endif /* HAVE_WCHAR_OPERATION */
+
+-#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) \
++#if defined(__DragonFly__)
++# include <wchar.h>
++# define _WCHAR_T
++#elif (defined(__FreeBSD__) && __FreeBSD_version < 500000) \
+ || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_