summaryrefslogtreecommitdiff
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
parent3676731046cfa50264d062748d395c5520390891 (diff)
coreutils: update to 9.5
-rw-r--r--package/coreutils/Makefile4
-rw-r--r--package/coreutils/patches/patch-lib_mcel_h11
2 files changed, 13 insertions, 2 deletions
diff --git a/package/coreutils/Makefile b/package/coreutils/Makefile
index f27fd4f00..70dc6bfdc 100644
--- a/package/coreutils/Makefile
+++ b/package/coreutils/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= coreutils
-PKG_VERSION:= 9.4
+PKG_VERSION:= 9.5
PKG_RELEASE:= 1
-PKG_HASH:= ea613a4cf44612326e917201bbbcdfbd301de21ffc3b59b6e5c07e040b275e52
+PKG_HASH:= cd328edeac92f6a665de9f323c93b712af1858bc2e0d88f3f7100469470a1b8a
PKG_DESCR:= file, shell and text utilities
PKG_SECTION:= base/apps
PKG_NEEDS:= threads
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__ \