summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/uim/files/uim-1.2.1-nls.patch')
-rw-r--r--app-i18n/uim/files/uim-1.2.1-nls.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-i18n/uim/files/uim-1.2.1-nls.patch b/app-i18n/uim/files/uim-1.2.1-nls.patch
new file mode 100644
index 000000000000..d0cdc05a0cbe
--- /dev/null
+++ b/app-i18n/uim/files/uim-1.2.1-nls.patch
@@ -0,0 +1,14 @@
+Index: qt/qtgettext.h
+===================================================================
+--- qt/qtgettext.h (revision 4453)
++++ qt/qtgettext.h (revision 4454)
+@@ -57,6 +57,9 @@
+ #define N_(String) (String)
+ #endif /* gettext_noop */
+
++#else /* ENABLE_NLS */
++
++#define mygettext(String) QString::fromLocal8Bit( (const char *)(String) )
+ #endif /* ENABLE_NLS */
+
+ #endif /* Not def: _QT_GETTEXT_H_ */