summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-29 15:29:11 +0000
committerjoerg <joerg>2005-12-29 15:29:11 +0000
commitbf374cfa428be9d2374f18b78a03e8c03eee587a (patch)
treed7a1e627b21fe032be4ab682485cb77c9791a961 /inputmethod
parent1e82e37820e76329e13654cee9ee538d31749b07 (diff)
downloadpkgsrc-bf374cfa428be9d2374f18b78a03e8c03eee587a.tar.gz
DragonFly wchar_t support.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/canna/distinfo3
-rw-r--r--inputmethod/canna/patches/patch-ae16
2 files changed, 18 insertions, 1 deletions
diff --git a/inputmethod/canna/distinfo b/inputmethod/canna/distinfo
index 3cae75d213b..6f7587d53f3 100644
--- a/inputmethod/canna/distinfo
+++ b/inputmethod/canna/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 21:00:35 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/29 15:29:11 joerg Exp $
SHA1 (Canna36p4.tar.gz) = 4edc22e2e4e5c6db42daa2083fabb53aa1ae8168
RMD160 (Canna36p4.tar.gz) = 7f8bb7f5d87e6b939ff2b84edf58072c75a5d09d
@@ -7,4 +7,5 @@ SHA1 (patch-aa) = eb21b7beaa66c4d0c5815599dc49b7c0b7eb3a40
SHA1 (patch-ab) = b203ad0cb1285ffed0037e0eced3ae298bec5eb9
SHA1 (patch-ac) = a81a07db87d3b501dedd423e148a8e7e1d1804c4
SHA1 (patch-ad) = d4b5720c206f81124e0d53e71590de86f66c524c
+SHA1 (patch-ae) = 9e8de536052d76d8aeeab2d443dc42450ae53947
SHA1 (patch-af) = 2700fc8395895176c16562af66ea5bf0b13d4e10
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_