pkgsrc-wip/oxim/patches/patch-ac
OBATA Akio 86f3ca6c4f Import oxim-1.4.1 as wip/oxim.
oxim is a common input method server, which focuses mainly on Chinese.
It is mainly developed by Firefly <firefly@ossii.com.tw>, and is a
fork from xcin 2.5.3 (pre-release version). In addition to the
original Root and OverTheSpot input style inherited from xcin, it
also supports OnTheSpot and OnTheSpotQT. You can easily use oxim in
GTK and QT based software.
2009-11-28 11:01:20 +00:00

15 lines
474 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2009/11/28 11:01:20 obache Exp $
--- src/xim/gui_menu.c.orig 2009-09-25 07:41:10.000000000 +0000
+++ src/xim/gui_menu.c
@@ -37,6 +37,10 @@ typedef int (*func) (void);
#define Y_LEADING 2
#define KEY_SPACE 16
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
/*----------------------------------------------------------*/
static int menu_actived = False; /* 選單執行中 */
static unsigned int n_items = 0; /* 選項數量 */