summaryrefslogtreecommitdiff
path: root/package/coreutils/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-08-21 22:58:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-08-21 22:58:56 +0200
commite5c70eefb5fccd26d054d5b56b3f51e0f6e117fa (patch)
tree784478973a933b32705f83ebd917f0adef8df929 /package/coreutils/patches
parent3676731046cfa50264d062748d395c5520390891 (diff)
coreutils: update to 9.5
Diffstat (limited to 'package/coreutils/patches')
-rw-r--r--package/coreutils/patches/patch-lib_mcel_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/coreutils/patches/patch-lib_mcel_h b/package/coreutils/patches/patch-lib_mcel_h
new file mode 100644
index 000000000..2e04561df
--- /dev/null
+++ b/package/coreutils/patches/patch-lib_mcel_h
@@ -0,0 +1,11 @@
+--- coreutils-9.5.orig/lib/mcel.h 2024-01-01 14:21:47.000000000 +0100
++++ coreutils-9.5/lib/mcel.h 2024-08-21 22:53:39.818834251 +0200
+@@ -221,7 +221,7 @@ mcel_scan (char const *p, char const *li
+
+ /* An initial mbstate_t; initialization optimized for some platforms.
+ For details about these and other platforms, see wchar.in.h. */
+-#if defined __GLIBC__ && 2 < __GLIBC__ + (2 <= __GLIBC_MINOR__)
++#if defined __GLIBC__ && 2 < __GLIBC__ + (2 <= __GLIBC_MINOR__) && !defined __UCLIBC__
+ /* Although only a trivial optimization, it's worth it for GNU. */
+ mbstate_t mbs; mbs.__count = 0;
+ #elif (defined __FreeBSD__ || defined __DragonFly__ || defined __OpenBSD__ \