Import of pkgsrc-2014Q1
This commit is contained in:
15
inputmethod/ibus-chewing/patches/patch-src_main.c
Normal file
15
inputmethod/ibus-chewing/patches/patch-src_main.c
Normal file
@@ -0,0 +1,15 @@
|
||||
$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");
|
||||
Reference in New Issue
Block a user