mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
chinese/ibus-pinyin: fix build with sqlite3 DQS option off
Also mention that ibus-libpinyin should be preferred. See also: PR 270064 PR: 270376
This commit is contained in:
parent
e95087b2d9
commit
f38d0fdbea
4 changed files with 22 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= ibus-pinyin
|
||||
PORTVERSION= 1.5.0
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= chinese
|
||||
|
||||
MAINTAINER= henry.hu.sh@gmail.com
|
||||
|
|
16
chinese/ibus-pinyin/files/patch-data_db_english_english.awk
Normal file
16
chinese/ibus-pinyin/files/patch-data_db_english_english.awk
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- data/db/english/english.awk.orig 2023-03-20 04:01:48 UTC
|
||||
+++ data/db/english/english.awk
|
||||
@@ -16,10 +16,10 @@ BEGIN {
|
||||
}
|
||||
|
||||
# Insert data into english table
|
||||
- { printf "INSERT INTO english (word, freq) VALUES (\"%s\", \"%f\");\n", $1, $2}
|
||||
+ { printf "INSERT INTO english (word, freq) VALUES (\'%s\', \'%f\');\n", $1, $2}
|
||||
|
||||
#quit sqlite3
|
||||
END {
|
||||
# Commit the transcation
|
||||
print "COMMIT;"
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
|
@ -1,6 +1,4 @@
|
|||
diff --git a/src/PYConfig.cc b/src/PYConfig.cc
|
||||
index 7e24b2c..1ef0b99 100644
|
||||
--- src/PYConfig.cc
|
||||
--- src/PYConfig.cc.orig 2012-12-19 15:30:43 UTC
|
||||
+++ src/PYConfig.cc
|
||||
@@ -114,6 +114,7 @@ Config::initDefaultValues (void)
|
||||
m_init_full_punct = TRUE;
|
|
@ -1 +1,5 @@
|
|||
PinYin engine for IBus.
|
||||
|
||||
This pinyin input method is deprecated; new users should switch to
|
||||
chinese/ibus-libpinyin, which is a contemporary implementation of pinyin input
|
||||
method.
|
||||
|
|
Loading…
Add table
Reference in a new issue