From e5c70eefb5fccd26d054d5b56b3f51e0f6e117fa Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 21 Aug 2024 22:58:56 +0200 Subject: coreutils: update to 9.5 --- package/coreutils/patches/patch-lib_mcel_h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/coreutils/patches/patch-lib_mcel_h (limited to 'package/coreutils/patches') 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__ \ -- cgit v1.2.3