Root/libunistring/patches/0001-locale.patch

1diff -ruN libunistring-0.9.2.1/lib/localename.c libunistring-0.9.2.1m/lib/localename.c
2--- libunistring-0.9.2.1/lib/localename.c 2010-01-01 11:02:02.000000000 +0100
3+++ libunistring-0.9.2.1m/lib/localename.c 2011-08-12 01:25:13.037171961 +0200
4@@ -2607,7 +2607,7 @@
5     locale_t thread_locale = uselocale (NULL);
6     if (thread_locale != LC_GLOBAL_LOCALE)
7       {
8-# if __GLIBC__ >= 2
9+# if __GLIBC__ >= 2 && 0
10         /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in
11            glibc < 2.12.
12            See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */
13

Archive Download this file



interactive