\U is not usable with UCS2 (python in pkgsrc).
This commit is contained in:
parent
b32243141d
commit
2da433785b
3 changed files with 21 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
17
inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py
Normal file
17
inputmethod/ibus-table/patches/patch-engine_tabsqlitedb.py
Normal file
|
@ -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
|
Loading…
Reference in a new issue