diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base')
-rw-r--r-- | package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base b/package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base new file mode 100644 index 0000000..3e409eb --- /dev/null +++ b/package/libs/gettext-full/patches/.svn/text-base/120-uclibc-nolocale.patch.svn-base @@ -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 |