diff options
author | rxg <rxg> | 2006-03-14 15:11:54 +0000 |
---|---|---|
committer | rxg <rxg> | 2006-03-14 15:11:54 +0000 |
commit | fe45b00c67e851b4b617aa69b5a29a73a80e7ead (patch) | |
tree | a1b3d4950b8cacab0d1c9edec3d6dc2ce17b30bd /inputmethod | |
parent | 0f92840a9d536dba3a1c464d4a385562cce4e7a3 (diff) | |
download | pkgsrc-fe45b00c67e851b4b617aa69b5a29a73a80e7ead.tar.gz |
Make it be built under NetBSD 1.6.2/i386.
Avoid such error:
xcin_chewing.c:67: parse error before `char
xcin_chewing.c:90: `cname' undeclared (first use in this function)
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/xcin/distinfo | 4 | ||||
-rw-r--r-- | inputmethod/xcin/patches/patch-ag | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/inputmethod/xcin/distinfo b/inputmethod/xcin/distinfo index 67acdab3184..0c6b51d8856 100644 --- a/inputmethod/xcin/distinfo +++ b/inputmethod/xcin/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2006/01/28 03:03:11 rxg Exp $ +$NetBSD: distinfo,v 1.5 2006/03/14 15:11:54 rxg Exp $ SHA1 (xcin-2.5.3.pre2.tar.gz) = 27e4c47e09c44e92e3a3afc9e08134e1485f6795 RMD160 (xcin-2.5.3.pre2.tar.gz) = f1fb83d1e21a0f5dbb80c5eafdaa6c7f313ea865 @@ -8,5 +8,5 @@ SHA1 (patch-ac) = a1bccd9d946d287eedf26bba4aebb89be8ee7e70 SHA1 (patch-ad) = 6e59d32f5e3f8f06f8b4bcbb32e221678db74018 SHA1 (patch-ae) = 13985687af55de0a6727150d41d2d6333d103689 SHA1 (patch-af) = 23dde43647de72fb6492a51016379db88f37cdd2 -SHA1 (patch-ag) = fdb0f067f6b58648bbff7f8e0afc8cdb2703af81 +SHA1 (patch-ag) = 009aff61710ad0da4492e366f35fa565b0abc32c SHA1 (patch-ah) = 0bc13a5e03157cc788228162d7f212d5741c29bf diff --git a/inputmethod/xcin/patches/patch-ag b/inputmethod/xcin/patches/patch-ag index cba7559c6f5..b98c3ed2dfc 100644 --- a/inputmethod/xcin/patches/patch-ag +++ b/inputmethod/xcin/patches/patch-ag @@ -1,6 +1,6 @@ -$NetBSD: patch-ag,v 1.1 2006/01/28 03:03:11 rxg Exp $ +$NetBSD: patch-ag,v 1.2 2006/03/14 15:11:54 rxg Exp $ ---- src/Cinput/chewing/xcin_chewing.c.orig 2006-01-21 20:32:10.000000000 +0800 +--- src/Cinput/chewing/xcin_chewing.c.orig 2006-03-13 22:26:59.000000000 +0800 +++ src/Cinput/chewing/xcin_chewing.c @@ -0,0 +1,515 @@ +/* @@ -57,7 +57,7 @@ $NetBSD: patch-ag,v 1.1 2006/01/28 03:03:11 rxg Exp $ +static int +ChewingInit(void *conf, char *objname, xcin_rc_t *xc) +{ -+ char *cmd[2], kb_type_str[256]; ++ char *cmd[2], kb_type_str[256], *cname; + ChewingConf *cf = (ChewingConf *)conf ; + + char *prefix = CHEWING_DATA_DIR; @@ -69,7 +69,7 @@ $NetBSD: patch-ag,v 1.1 2006/01/28 03:03:11 rxg Exp $ + chewing_codeset = (! strcasecmp(xc->locale.encoding,"utf-8")) ? + XCIN_BYTE_UTF8 : + XCIN_BYTE_NATIVE; -+ char *cname = (char *) calloc(3, sizeof(char) * chewing_codeset); ++ cname = (char *) calloc(3, sizeof(char) * chewing_codeset); + + cmd[0] = objname ; + cmd[1] = "KB_TYPE" ; |