summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c')
-rw-r--r--inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c b/inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c
new file mode 100644
index 00000000000..6036513f1a1
--- /dev/null
+++ b/inputmethod/ibus-chewing/patches/patch-src_ibus-setup-chewing.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_ibus-setup-chewing.c,v 1.1 2014/12/13 06:33:15 obache Exp $
+
+* PKGLOCALEDIR support
+
+--- src/ibus-setup-chewing.c.orig 2014-12-04 06:48:33.000000000 +0000
++++ src/ibus-setup-chewing.c
+@@ -91,7 +91,7 @@ gint main(gint argc, gchar * argv[])
+
+ /* Init i18n messages */
+ setlocale(LC_ALL, "");
+- bindtextdomain(QUOTE_ME(PROJECT_NAME), QUOTE_ME(DATA_DIR) "/locale");
++ bindtextdomain(QUOTE_ME(PROJECT_NAME), QUOTE_ME(LOCALE_DIR));
+ textdomain(QUOTE_ME(PROJECT_NAME));
+
+ context = g_option_context_new("- ibus chewing engine setup");