diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-10 17:58:23 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-10 17:58:23 +0000 |
commit | 6a1c047970fe17473c1540e1f55e4c0876da0c1b (patch) | |
tree | c74df9888531f7d1a2477755c0752d85e594148d /package/libs/gettext-full/patches/120-uclibc-nolocale.patch | |
parent | 971ae637f195e2d5ffe30a801b5725b83cc6391b (diff) | |
download | upstream-6a1c047970fe17473c1540e1f55e4c0876da0c1b.tar.gz upstream-6a1c047970fe17473c1540e1f55e4c0876da0c1b.tar.bz2 upstream-6a1c047970fe17473c1540e1f55e4c0876da0c1b.zip |
gettext-full: move to trunk and add myself as maintainer
SVN-Revision: 33713
Diffstat (limited to 'package/libs/gettext-full/patches/120-uclibc-nolocale.patch')
-rw-r--r-- | package/libs/gettext-full/patches/120-uclibc-nolocale.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/gettext-full/patches/120-uclibc-nolocale.patch b/package/libs/gettext-full/patches/120-uclibc-nolocale.patch new file mode 100644 index 0000000000..3e409eb7e6 --- /dev/null +++ b/package/libs/gettext-full/patches/120-uclibc-nolocale.patch @@ -0,0 +1,11 @@ +--- a/gettext-runtime/intl/localename.c ++++ b/gettext-runtime/intl/localename.c +@@ -2780,7 +2780,7 @@ gl_locale_name_posix (int category, cons + { + /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. + On some systems this can be done by the 'setlocale' function itself. */ +-#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL ++#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL && (!defined __UCLIBC__ || defined __UCLIBC_HAS_LOCALE__) + return setlocale (category, NULL); + #else + /* On other systems we ignore what setlocale reports and instead look at the |