tools/coreutils: update to 9.6

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>
This commit is contained in:
Michael Pratt 2025-05-06 14:54:55 -04:00 committed by Robert Marko
parent 40c241d857
commit 199afe9ef7
2 changed files with 17 additions and 7 deletions

View 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)))

View 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