summaryrefslogtreecommitdiff
path: root/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-10 17:58:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-10 17:58:23 +0000
commit6a1c047970fe17473c1540e1f55e4c0876da0c1b (patch)
treec74df9888531f7d1a2477755c0752d85e594148d /package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch
parent971ae637f195e2d5ffe30a801b5725b83cc6391b (diff)
downloadmtk-20170518-6a1c047970fe17473c1540e1f55e4c0876da0c1b.zip
mtk-20170518-6a1c047970fe17473c1540e1f55e4c0876da0c1b.tar.gz
mtk-20170518-6a1c047970fe17473c1540e1f55e4c0876da0c1b.tar.bz2
gettext-full: move to trunk and add myself as maintainer
SVN-Revision: 33713
Diffstat (limited to 'package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch')
-rw-r--r--package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch b/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch
new file mode 100644
index 0000000..dafa79c
--- /dev/null
+++ b/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch
@@ -0,0 +1,22 @@
+--- a/gettext-runtime/intl/localename.c
++++ b/gettext-runtime/intl/localename.c
+@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego
+ locale_t thread_locale = uselocale (NULL);
+ if (thread_locale != LC_GLOBAL_LOCALE)
+ {
+-# if __GLIBC__ >= 2
++# if __GLIBC__ >= 2 && !defined __UCLIBC__
+ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in
+ glibc < 2.12.
+ See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */
+--- a/gettext-tools/gnulib-lib/localename.c
++++ b/gettext-tools/gnulib-lib/localename.c
+@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego
+ locale_t thread_locale = uselocale (NULL);
+ if (thread_locale != LC_GLOBAL_LOCALE)
+ {
+-# if __GLIBC__ >= 2
++# if __GLIBC__ >= 2 && !defined __UCLIBC__
+ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in
+ glibc < 2.12.
+ See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */