summaryrefslogtreecommitdiff
path: root/inputmethod/xcin/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-11-24 11:23:34 +0000
committerobache <obache@pkgsrc.org>2009-11-24 11:23:34 +0000
commit55c964440af4369fe9e8c96f3cb08947d6a429d0 (patch)
tree759f66657ea13d52d80de1aadbd9f8eb825ede2d /inputmethod/xcin/patches
parent93b36be3d8fadba13d96a7fb26f7c4cdedf4d676 (diff)
downloadpkgsrc-55c964440af4369fe9e8c96f3cb08947d6a429d0.tar.gz
* Change to depend on libchewing02
* relax build dependency from db3 to db2-4. * add DESTDIR support Bump PKGREVISION.
Diffstat (limited to 'inputmethod/xcin/patches')
-rw-r--r--inputmethod/xcin/patches/patch-aa6
-rw-r--r--inputmethod/xcin/patches/patch-aj21
2 files changed, 24 insertions, 3 deletions
diff --git a/inputmethod/xcin/patches/patch-aa b/inputmethod/xcin/patches/patch-aa
index b150a5eb4eb..634c1a878b2 100644
--- a/inputmethod/xcin/patches/patch-aa
+++ b/inputmethod/xcin/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2006/01/28 03:03:11 rxg Exp $
+$NetBSD: patch-aa,v 1.3 2009/11/24 11:23:34 obache Exp $
--- etc/Makefile.in.orig 2001-11-28 22:39:03.000000000 +0800
+++ etc/Makefile.in
@@ -9,8 +9,8 @@ $NetBSD: patch-aa,v 1.2 2006/01/28 03:03:11 rxg Exp $
- if [ ! -d "$(xcin_rcp)" ]; then $(INSTALL) -d $(xcin_rcp); fi
- if [ -f $(xcin_rcp)/xcinrc ]; then mv $(xcin_rcp)/xcinrc $(xcin_rcp)/xcinrc.old; fi
- $(INSTALL_DATA) xcinrc $(xcin_rcp)
-+ if [ ! -d "$(prefix)/share/examples/xcin" ]; then $(INSTALL) -d $(prefix)/share/examples/xcin; fi
-+ $(INSTALL_DATA) xcinrc $(prefix)/share/examples/xcin
++ if [ ! -d "$(program_prefix)$(prefix)/share/examples/xcin" ]; then $(INSTALL) -d $(program_prefix)$(prefix)/share/examples/xcin; fi
++ $(INSTALL_DATA) xcinrc $(program_prefix)$(prefix)/share/examples/xcin
clean:
rm -f xcinrc
diff --git a/inputmethod/xcin/patches/patch-aj b/inputmethod/xcin/patches/patch-aj
new file mode 100644
index 00000000000..0fd032fce96
--- /dev/null
+++ b/inputmethod/xcin/patches/patch-aj
@@ -0,0 +1,21 @@
+$NetBSD: patch-aj,v 1.1 2009/11/24 11:23:34 obache Exp $
+
+for process jyutping.cin.
+
+--- src/util/cin2tab/cin2tab.c.orig 2001-10-04 16:39:49.000000000 +0000
++++ src/util/cin2tab/cin2tab.c
+@@ -74,12 +74,12 @@ static struct cin cinfunc[] = {
+ int
+ cmd_arg(char *cmd, int cmdlen, ...)
+ {
+- char line[256], *s=line, *arg;
++ char line[512], *s=line, *arg;
+ int arglen, n_read=1;
+ va_list list;
+
+ va_start(list, cmdlen);
+- if (! get_line(line, 256, cintab.fr, &(cintab.lineno), "#\n"))
++ if (! get_line(line, 512, cintab.fr, &(cintab.lineno), "#\n"))
+ return 0;
+
+ cmd[0] = '\0';