tools/coreutils: update to 9.2
authorGeorgi Valkov <gvalkov@gmail.com>
Tue, 21 Mar 2023 09:39:21 +0000 (11:39 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2023 14:51:53 +0000 (16:51 +0200)
commit4467cf8e418e8003324990541b199d313b7c9235
treeeb1ea978363a25849e916674b08a7f4ae9e6db26
parent2715aff5df836c1d3eb8cbf5afdb0c197902ee4b
tools/coreutils: update to 9.2

This resolves an error when building toolchain/musl on macOS due to
improper hole-detection caused by a bug in macOS/APFS [1].

As long as we don't reconfigure, 001-m4.patch is not needed.
If we keep it, it will force reconfigure the project,
since m4 files are changed. This works, but may not be optimal,
because the build should use files from coreutils/m4, but
OpenWRT uses legacy files from staging_dir/host/share/aclocal [2].

backport a couple of upstream patches
date: diagnose -f read errors
copy: fix --reflink=auto to fallback in more cases

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61386
[2] https://github.com/openwrt/openwrt/pull/12233#issuecomment-1481097456

Co-developed-by: Michael Pratt <mcpratt@pm.me>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
tools/coreutils/Makefile
tools/coreutils/patches/001-copy-fix-reflink-auto-to-fallback-in-more-cases.patch [new file with mode: 0644]
tools/coreutils/patches/001-m4.patch [deleted file]
tools/coreutils/patches/002-date-diagnose-f-read-errors.patch [new file with mode: 0644]