diff options
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r-- | chinese/gcin/files/patch-configure | 9 | ||||
-rw-r--r-- | chinese/gcin/files/patch-modules__Makefile | 18 |
2 files changed, 27 insertions, 0 deletions
diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure index 7f53aeac8d32..b695f7f0a88a 100644 --- a/chinese/gcin/files/patch-configure +++ b/chinese/gcin/files/patch-configure @@ -15,6 +15,15 @@ exit fi +@@ -172,7 +172,7 @@ echo -n ".... Testing anthy : " + fi + + echo -n ".... Testing anthy : " +-USE_ANTHY=`pkg-config --libs anthy` ++USE_ANTHY=`pkg-config --libs anthy-unicode` + if [ $? != 0 ]; then + USE_ANTHY=N + echo "Not found. It's ok if you don't want anthy support." @@ -232,7 +232,7 @@ QT4_IM='N' diff --git a/chinese/gcin/files/patch-modules__Makefile b/chinese/gcin/files/patch-modules__Makefile index 3c8125ece097..e4192fc04dc4 100644 --- a/chinese/gcin/files/patch-modules__Makefile +++ b/chinese/gcin/files/patch-modules__Makefile @@ -1,5 +1,23 @@ --- modules/Makefile.orig 2013-10-05 03:31:52 UTC +++ modules/Makefile +@@ -6,7 +6,7 @@ GCIN_MODULE+=anthy-module.so + + ifeq ($(USE_ANTHY),Y) + GCIN_MODULE+=anthy-module.so +-CFLAGS+=-DGCIN_MODULE=1 ++CFLAGS+=-DGCIN_MODULE=1 $(ANTHY_CFLAGS) + endif + + ifeq ($(USE_CHEWING),Y) +@@ -19,7 +19,7 @@ anthy-module.so: $(anthy_module_so) + + anthy_module_so = anthy.pico + anthy-module.so: $(anthy_module_so) +- $(CCLD) $(SO_FLAGS) -o $@ $(anthy_module_so) $(LDFLAGS) -lanthy ++ $(CCLD) $(SO_FLAGS) -o $@ $(anthy_module_so) $(LDFLAGS) -lanthy-unicode + + intcode_module_so = intcode.pico win-int.pico + intcode-module.so: $(intcode_module_so) @@ -38,4 +38,4 @@ clean: .depend: $(CCX) $(CFLAGS) -MM *.cpp > $@ |