Waldemar Brodkorb 3 месяцев назад
Родитель
Сommit
e5c70eefb5
2 измененных файлов с 13 добавлено и 2 удалено
  1. 2 2
      package/coreutils/Makefile
  2. 11 0
      package/coreutils/patches/patch-lib_mcel_h

+ 2 - 2
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

+ 11 - 0
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__ \