From 2da433785b5d68ac844bfebb0406dde05a7f87e3 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 28 Dec 2013 09:02:31 +0000 Subject: [PATCH] \U is not usable with UCS2 (python in pkgsrc). --- inputmethod/ibus-table/Makefile | 3 ++- inputmethod/ibus-table/distinfo | 3 ++- .../patches/patch-engine_tabsqlitedb.py | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py diff --git a/inputmethod/ibus-table/Makefile b/inputmethod/ibus-table/Makefile index 2485e9d974a6..2274ce0c3f9b 100644 --- a/inputmethod/ibus-table/Makefile +++ b/inputmethod/ibus-table/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2013/10/23 12:43:49 obache Exp $ +# $NetBSD: Makefile,v 1.9 2013/12/28 09:02:31 obache Exp $ # DISTNAME= ibus-table-1.5.0 +PKGREVISION= 1 CATEGORIES= inputmethod MASTER_SITES= http://ibus.googlecode.com/files/ diff --git a/inputmethod/ibus-table/distinfo b/inputmethod/ibus-table/distinfo index b7b2729e948b..5a7aee572c9b 100644 --- a/inputmethod/ibus-table/distinfo +++ b/inputmethod/ibus-table/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2013/10/23 12:43:49 obache Exp $ +$NetBSD: distinfo,v 1.3 2013/12/28 09:02:31 obache Exp $ SHA1 (ibus-table-1.5.0.tar.gz) = 3e474e52d963927fac1056112c1b92dfd47e5cbd RMD160 (ibus-table-1.5.0.tar.gz) = 4c9b00679a0a448839fd59d3439be36fc1083705 Size (ibus-table-1.5.0.tar.gz) = 432844 bytes +SHA1 (patch-engine_tabsqlitedb.py) = c360974f0dfb327f6bd18cce0c8bec4fe5dd806b diff --git a/inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py b/inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py new file mode 100644 index 000000000000..390367398f87 --- /dev/null +++ b/inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py @@ -0,0 +1,17 @@ +$NetBSD: patch-engine_tabsqlitedb.py,v 1.1 2013/12/28 09:02:31 obache Exp $ + +* \U is not usable with UCS2. + +--- engine/tabsqlitedb.py.orig 2013-01-15 21:46:47.000000000 +0000 ++++ engine/tabsqlitedb.py +@@ -499,10 +499,6 @@ class tabsqlitedb: + + u'\u4E00-\u9FCB' + + u'\u3400-\u4DB5' + + u'\uF900-\uFaFF' +- + u'\U00020000-\U0002A6D6' +- + u'\U0002A700-\U0002B734' +- + u'\U0002B740-\U0002B81D' +- + u'\U0002F800-\U0002FA1D' + + u']+', + phrase)) + # first whether in gb2312