diff options
Diffstat (limited to 'inputmethod/ibus-chewing/patches/patch-src_main.c')
-rw-r--r-- | inputmethod/ibus-chewing/patches/patch-src_main.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/inputmethod/ibus-chewing/patches/patch-src_main.c b/inputmethod/ibus-chewing/patches/patch-src_main.c index 78485117cac..2e1108d79d8 100644 --- a/inputmethod/ibus-chewing/patches/patch-src_main.c +++ b/inputmethod/ibus-chewing/patches/patch-src_main.c @@ -1,15 +1,15 @@ -$NetBSD: patch-src_main.c,v 1.3 2013/10/08 12:06:23 obache Exp $ +$NetBSD: patch-src_main.c,v 1.4 2014/12/13 06:33:15 obache Exp $ * PKGLOCALEDIR support ---- src/main.c.orig 2012-10-22 05:32:11.000000000 +0000 +--- src/main.c.orig 2014-12-09 06:13:50.000000000 +0000 +++ src/main.c -@@ -146,7 +146,7 @@ main (gint argc, gchar *argv[]) +@@ -162,7 +162,7 @@ int main(gint argc, gchar * argv[]) /* Init i18n messages */ - setlocale (LC_ALL, "zh_TW.utf8"); -- bindtextdomain(quote_me(PROJECT_NAME), quote_me(DATA_DIR) "/locale"); -+ bindtextdomain(quote_me(PROJECT_NAME), quote_me(LOCALE_DIR)); - textdomain(quote_me(PROJECT_NAME)); + 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)); + determine_locale(); - context = g_option_context_new ("- ibus chewing engine component"); |