diff options
Diffstat (limited to 'app-i18n/scim-tomoe/files')
-rw-r--r-- | app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gcc43.patch | 11 | ||||
-rw-r--r-- | app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch | 21 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gcc43.patch b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gcc43.patch new file mode 100644 index 000000000000..5464debb0198 --- /dev/null +++ b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gcc43.patch @@ -0,0 +1,11 @@ +diff -Naur scim-tomoe-0.6.0.orig/src/scim_tomoe_prefs_widget.cpp scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp +--- scim-tomoe-0.6.0.orig/src/scim_tomoe_prefs_widget.cpp 2007-05-07 16:49:15.000000000 +0900 ++++ scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp 2008-09-24 00:57:47.000000000 +0900 +@@ -22,6 +22,7 @@ + #endif + + #include <glib/gi18n-lib.h> ++#include <cstring> + + #include "scim_tomoe_prefs_widget.h" + #include "scim_tomoe_prefs.h" diff --git a/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch new file mode 100644 index 000000000000..90a52615e65e --- /dev/null +++ b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch @@ -0,0 +1,21 @@ +--- + Update tomoe-gtk to gucharmap-2 API + https://bugs.gentoo.org/show_bug.cgi?id=243160 + + scim_tomoe_prefs_widget.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/src/scim_tomoe_prefs_widget.cpp 2008-12-06 16:40:15.000000000 +0100 ++++ b/src/scim_tomoe_prefs_widget.cpp 2008-12-06 17:01:19.000000000 +0100 +@@ -473,9 +473,9 @@ + String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT)); + + if (font.length() > 0) { +- gucharmap_charmap_set_font (charmap, font.c_str ()); ++ gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(font.c_str ())); + } else { +- gucharmap_charmap_set_font (charmap, NULL); ++ gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(NULL)); + set_default_font (prefs, SCIM_TOMOE_CONFIG_CAND_FONT, + GTK_WIDGET (charmap)); + } |