summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2010-12-19 02:48:24 +0000
committerMu Qiao <qiaomuf@gentoo.org>2010-12-19 02:48:24 +0000
commita1b752c1907932578fcc895238092917dc8b5cbe (patch)
treefe80f1a3efa099ffc5e6e585e402ce81fecac95a /app-i18n/fcitx/files
parentVersion bump (diff)
downloadgentoo-2-a1b752c1907932578fcc895238092917dc8b5cbe.tar.gz
gentoo-2-a1b752c1907932578fcc895238092917dc8b5cbe.tar.bz2
gentoo-2-a1b752c1907932578fcc895238092917dc8b5cbe.zip
Make fcitx compile without pango.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/fcitx/files')
-rw-r--r--app-i18n/fcitx/files/fcitx-4.0.1-fix-pango.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-i18n/fcitx/files/fcitx-4.0.1-fix-pango.patch b/app-i18n/fcitx/files/fcitx-4.0.1-fix-pango.patch
new file mode 100644
index 000000000000..280f8f5bc197
--- /dev/null
+++ b/app-i18n/fcitx/files/fcitx-4.0.1-fix-pango.patch
@@ -0,0 +1,18 @@
+--- fcitx-4.0.1/src/ui/ui.c 2010-12-17 12:20:02.000000000 +0800
++++ fcitx-4.0.1-patched/src/ui/ui.c 2010-12-19 10:24:26.646000021 +0800
+@@ -986,6 +986,8 @@
+ return desc;
+ }
+
++#endif
++
+ Visual * FindARGBVisual (Display *dpy, int scr)
+ {
+ XVisualInfo *xvi;
+@@ -1018,6 +1020,3 @@
+ XFree (xvi);
+ return visual;
+ }
+-
+-
+-#endif