Files
pkgsrc-ng/inputmethod/ibus-chewing/patches/patch-src_main.c
2014-11-05 12:41:07 +01:00

16 lines
542 B
C

$NetBSD: patch-src_main.c,v 1.3 2013/10/08 12:06:23 obache Exp $
* PKGLOCALEDIR support
--- src/main.c.orig 2012-10-22 05:32:11.000000000 +0000
+++ src/main.c
@@ -146,7 +146,7 @@ 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));
context = g_option_context_new ("- ibus chewing engine component");