pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/canna Add a one line patch which fix crash...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8441c2c6c007
branches:  trunk
changeset: 547506:8441c2c6c007
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Sep 18 12:33:44 2008 +0000

description:
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:

 inputmethod/canna/distinfo         |   3 ++-
 inputmethod/canna/patches/patch-ao |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 58b49e6ce2ff -r 8441c2c6c007 inputmethod/canna/distinfo
--- a/inputmethod/canna/distinfo        Thu Sep 18 12:18:36 2008 +0000
+++ b/inputmethod/canna/distinfo        Thu Sep 18 12:33:44 2008 +0000
@@ -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-al) = f6025d6fb7a3247ef44b0a50ae13b67ef3dad2d9
 SHA1 (patch-am) = 756aed6fc81a9d75a55d123c8dc00c0932b8df7f
 SHA1 (patch-an) = d639f774bf9ef440458bfc716b211a1dcc95a823
+SHA1 (patch-ao) = c577319f50df6624333726cd62b48d869989d881
diff -r 58b49e6ce2ff -r 8441c2c6c007 inputmethod/canna/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/canna/patches/patch-ao        Thu Sep 18 12:33:44 2008 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index