summaryrefslogtreecommitdiff
path: root/system/coreutils/localename-test-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-04 19:58:00 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-04 19:58:00 +0000
commit004ba64dfa12112ce25064a9f4e6981d9581f8aa (patch)
tree2b642b2b0524afb9e4b3b7f82bd44d19b0224f76 /system/coreutils/localename-test-fix.patch
parent43c2c5f547d8479044da601029ab702619ac4d77 (diff)
downloadpackages-004ba64dfa12112ce25064a9f4e6981d9581f8aa.tar.gz
packages-004ba64dfa12112ce25064a9f4e6981d9581f8aa.tar.bz2
packages-004ba64dfa12112ce25064a9f4e6981d9581f8aa.tar.xz
packages-004ba64dfa12112ce25064a9f4e6981d9581f8aa.zip
system/coreutils: bump to 8.30
Diffstat (limited to 'system/coreutils/localename-test-fix.patch')
-rw-r--r--system/coreutils/localename-test-fix.patch17
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)