1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-28 19:44:04 +02:00
openwrt-packages/libunistring/patches/0001-locale.patch
2011-08-12 02:00:55 +02:00

13 lines
598 B
Diff

diff -ruN libunistring-0.9.2.1/lib/localename.c libunistring-0.9.2.1m/lib/localename.c
--- libunistring-0.9.2.1/lib/localename.c 2010-01-01 11:02:02.000000000 +0100
+++ libunistring-0.9.2.1m/lib/localename.c 2011-08-12 01:25:13.037171961 +0200
@@ -2607,7 +2607,7 @@
locale_t thread_locale = uselocale (NULL);
if (thread_locale != LC_GLOBAL_LOCALE)
{
-# if __GLIBC__ >= 2
+# if __GLIBC__ >= 2 && 0
/* 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>. */