summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2012-02-24 06:23:07 +0000
committerMu Qiao <qiaomuf@gentoo.org>2012-02-24 06:23:07 +0000
commitf1c6a773f6195bd3a878462f5684658747e2c29d (patch)
tree48596c3446172c48e9ffa9be49aee4bfd83e568d /app-i18n/fcitx/files
parentRestricting pypy (diff)
downloadgentoo-2-f1c6a773f6195bd3a878462f5684658747e2c29d.tar.gz
gentoo-2-f1c6a773f6195bd3a878462f5684658747e2c29d.tar.bz2
gentoo-2-f1c6a773f6195bd3a878462f5684658747e2c29d.zip
Fix a bug when compiling without pango
(Portage version: 2.1.10.48/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/fcitx/files')
-rw-r--r--app-i18n/fcitx/files/fcitx-4.2.0-fix-pango.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-i18n/fcitx/files/fcitx-4.2.0-fix-pango.patch b/app-i18n/fcitx/files/fcitx-4.2.0-fix-pango.patch
new file mode 100644
index 000000000000..97b1b69413a1
--- /dev/null
+++ b/app-i18n/fcitx/files/fcitx-4.2.0-fix-pango.patch
@@ -0,0 +1,13 @@
+diff --git a/src/ui/cairostuff/cairostuff.c b/src/ui/cairostuff/cairostuff.c
+index 3c70d99..174b67a 100644
+--- a/src/ui/cairostuff/cairostuff.c
++++ b/src/ui/cairostuff/cairostuff.c
+@@ -80,7 +80,7 @@ StringSizeWithContextReal(cairo_t * c, const char *str, int* w, int* h)
+ if (h) *h = 0;
+ return;
+ }
+- if (!utf8_check_string(str)) {
++ if (!fcitx_utf8_check_string(str)) {
+ if (w) *w = 0;
+ if (h) *h = 0;
+