1
From: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
2
Date: Sun, 5 Feb 2012 21:12:25 +0800
3
Subject: 01-lower_sunpinyin_version.patch
5
===================================================================
9
2 files changed, 4 insertions(+), 2 deletions(-)
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
12
index 5ab4779..68f3a44 100644
15
@@ -10,7 +10,7 @@ FIND_PACKAGE(Libintl REQUIRED)
16
FIND_PACKAGE(Gettext REQUIRED)
17
FIND_PACKAGE(Fcitx 4.2.0 REQUIRED)
19
-PKG_CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >= 2.0.4" )
20
+PKG_CHECK_MODULES(SUNPINYIN REQUIRED "sunpinyin-2.0 >= 2.0.3" )
24
diff --git a/src/eim.cpp b/src/eim.cpp
25
index d5790f9..605fc32 100644
28
@@ -400,7 +400,8 @@ void FcitxSunpinyinDestroy (void* arg)
30
INPUT_RETURN_VALUE FcitxSunpinyinDeleteCandidate (FcitxSunpinyin* sunpinyin, FcitxCandidateWord* candWord)
32
- if (candWord->owner == sunpinyin)
34
+ if (candWord->owner == sunpinyin)
37
sunpinyin->view->getCandidateList(pcl, 0, sunpinyin->candNum);
38
@@ -410,6 +411,7 @@ INPUT_RETURN_VALUE FcitxSunpinyinDeleteCandidate (FcitxSunpinyin* sunpinyin, Fci
39
classicView->deleteCandidate(*index, mask);
40
return IRV_DISPLAY_CANDWORDS;
43
return IRV_TO_PROCESS;