]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/coreutils: update to 9.6
authorMichael Pratt <mcpratt@pm.me>
Tue, 6 May 2025 18:54:55 +0000 (14:54 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
Update to the next stable release.

Prevent the need for gperf to build
gperf based headers due to new gnulib versions
by skipping replacement of gperf files.

Without Automake, there are some
existing macro conflicts
due to the new version of gnulib,
causing build errors with some source files,
so skip those file replacements.

All patches are automatically refreshed.

Link: https://lists.gnu.org/archive/html/coreutils/2025-01/msg00049.html
Tested-by: Georgi Valkov <gvalkov@gmail.com> # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/coreutils/Makefile
tools/coreutils/patches/000-bootstrap.patch

index 73b95912ee140ba1585db9fb391e7c0bd0bc9f6c..d1948042b9238196f8201a1a5017ab5f5131862b 100644 (file)
@@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=coreutils
 PKG_CPE_ID:=cpe:/a:gnu:coreutils
-PKG_VERSION:=9.5
+PKG_VERSION:=9.6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/coreutils
-PKG_HASH:=767ae6a22950ec42f3ba5f7c1de79dd27800ee8e9b8642da5dedb5974a1741e5
+PKG_HASH:=2bec616375002c92c1ed5ead32a092b174fe44c14bc736d32e5961053b821d84
 
 HOST_BUILD_PARALLEL := 1
 
@@ -23,10 +23,20 @@ include $(INCLUDE_DIR)/host-build.mk
 export GNULIB_SRCDIR:=$(HOST_GNULIB_SRCDIR)
 
 HOST_GNULIB_SKIP := \
-       lib/nstrftime.c \
-       lib/fprintftime.c \
+       lib/c++defs.h \
+       lib/realloc.c \
+       lib/reallocarray.c \
+       lib/savedir.c \
        lib/fcntl.in.h \
-       lib/locale.in.h
+       lib/stdio.in.h \
+       lib/stdlib.in.h \
+       lib/se-selinux.in.h \
+       lib/iconv_open-aix.gperf \
+       lib/iconv_open-hpux.gperf \
+       lib/iconv_open-irix.gperf \
+       lib/iconv_open-osf.gperf \
+       lib/iconv_open-solaris.gperf \
+       lib/iconv_open-zos.gperf
 
 HOST_CONFIGURE_ARGS += \
         --enable-install-program=$(subst $(space),$(comma),$(strip $(PKG_PROGRAMS)))
index ea0ea7e37e8d3855af23ac1e7ea962602f2d4ff5..1edf879e0e3d3030a05192b281f9e32bf7f96551 100644 (file)
@@ -34,7 +34,7 @@
        if [ ! "$inst_ver" ]; then
          warn_ "Error: '$app' not found"
          ret=1
-@@ -1157,7 +1157,7 @@ autogen()
+@@ -1205,7 +1205,7 @@ autogen()
    # two just-pre-run programs.
  
    # Import from gettext.
@@ -45,7 +45,7 @@
  
 --- a/bootstrap.conf
 +++ b/bootstrap.conf
-@@ -349,11 +349,8 @@ gnulib_tool_option_extras="--tests-base=
+@@ -354,11 +354,8 @@ gnulib_tool_option_extras="--tests-base=
  buildreq="\
  autoconf   2.64
  automake   1.11.2