summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-09-18 12:33:44 +0000
committertaca <taca@pkgsrc.org>2008-09-18 12:33:44 +0000
commitdb0e2790c166549853a93266c5b133273a3c04ad (patch)
treeea2dbb0f2ebfe951c132445c8a06b62d0d629626 /inputmethod
parentb294e5d7a10011cb0be3fe75b3c263b5b089fbff (diff)
downloadpkgsrc-db0e2790c166549853a93266c5b133273a3c04ad.tar.gz
Add a one line patch which fix crash problem of cannaserver.
This change is alreay exists in Canna's CVS repositry. It was reported by Hiroshi SAKURAI on netbsd mailing list in Japan.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/canna/distinfo3
-rw-r--r--inputmethod/canna/patches/patch-ao13
2 files changed, 15 insertions, 1 deletions
diff --git a/inputmethod/canna/distinfo b/inputmethod/canna/distinfo
index 1d115efbd5d..906076b1088 100644
--- a/inputmethod/canna/distinfo
+++ b/inputmethod/canna/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2008/05/20 18:53:17 tnn Exp $
+$NetBSD: distinfo,v 1.9 2008/09/18 12:33:44 taca Exp $
SHA1 (Canna36p4.tar.gz) = 4edc22e2e4e5c6db42daa2083fabb53aa1ae8168
RMD160 (Canna36p4.tar.gz) = 7f8bb7f5d87e6b939ff2b84edf58072c75a5d09d
@@ -17,3 +17,4 @@ SHA1 (patch-ak) = 18b408344b8b617142ced8804990e87b7ae27f56
SHA1 (patch-al) = f6025d6fb7a3247ef44b0a50ae13b67ef3dad2d9
SHA1 (patch-am) = 756aed6fc81a9d75a55d123c8dc00c0932b8df7f
SHA1 (patch-an) = d639f774bf9ef440458bfc716b211a1dcc95a823
+SHA1 (patch-ao) = c577319f50df6624333726cd62b48d869989d881
diff --git a/inputmethod/canna/patches/patch-ao b/inputmethod/canna/patches/patch-ao
new file mode 100644
index 00000000000..733df65577a
--- /dev/null
+++ b/inputmethod/canna/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2008/09/18 12:33:44 taca Exp $
+
+--- lib/RK/ncache.c.orig 2002-10-19 17:27:45.000000000 +0900
++++ lib/RK/ncache.c
+@@ -27,7 +27,7 @@ static char rcsid[]="$Id: ncache.c,v 1.1
+ #include "RKintern.h"
+
+ #define NCHASH 101
+-#define hash(x) ((int)((x)%NCHASH))
++#define hash(x) ((int)(((unsigned long)(x))%NCHASH))
+
+ static struct ncache Nchash[NCHASH];
+ static struct ncache Ncfree;