diff options
Diffstat (limited to 'system/coreutils/localename-test-fix.patch')
-rw-r--r-- | system/coreutils/localename-test-fix.patch | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/system/coreutils/localename-test-fix.patch b/system/coreutils/localename-test-fix.patch index 9907eb67a..ff89319c7 100644 --- a/system/coreutils/localename-test-fix.patch +++ b/system/coreutils/localename-test-fix.patch @@ -1,14 +1,13 @@ +# if defined __APPLE__ && defined __MACH__ +# include <xlocale.h> +# endif +# if (__GLIBC__ >= 2 && !defined __UCLIBC__) || defined __CYGWIN__ +# if (defined __linux__ && !defined __UCLIBC__) || defined __CYGWIN__ +# include <langinfo.h> +# endif +# if !defined IN_LIBINTL --- coreutils-8.27/gnulib-tests/localename.c.old 2016-12-31 13:54:43.000000000 +0000 +++ coreutils-8.27/gnulib-tests/localename.c 2017-07-30 16:40:47.098541270 +0000 -@@ -40,7 +40,7 @@ - # if defined __APPLE__ && defined __MACH__ - # include <xlocale.h> - # endif --# if (__GLIBC__ >= 2 && !defined __UCLIBC__) || defined __CYGWIN__ -+# if (defined __linux__ && !defined __UCLIBC__) || defined __CYGWIN__ - # include <langinfo.h> - # endif - # if !defined IN_LIBINTL @@ -2692,16 +2692,19 @@ locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) |