main/findutils: upgrade to 4.10.0

This commit is contained in:
Celeste 2024-06-06 16:12:18 +00:00 committed by Andy Postnikov
parent 6660dd6b53
commit 5930a2e014
2 changed files with 35 additions and 6 deletions

View file

@ -2,16 +2,33 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=findutils
pkgver=4.9.0
pkgrel=5
pkgver=4.10.0
pkgrel=0
pkgdesc="GNU utilities for finding files"
url="https://www.gnu.org/software/findutils/"
arch="all"
license="GPL-3.0-or-later"
checkdepends="coreutils diffutils dejagnu"
subpackages="$pkgname-doc $pkgname-locate:_locate $pkgname-locate-doc:_locate_doc"
checkdepends="
coreutils
dejagnu
diffutils
"
subpackages="
$pkgname-doc
$pkgname-locate:_locate
$pkgname-locate-doc:_locate_doc
"
source="https://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.xz
test-parse-datetime.patch"
test-parse-datetime.patch
test-sigusr.patch
"
prepare() {
default_prepare
# test-sigusr.c is being patched to use this header
cp -v "$startdir"/../musl-legacy-error/error.h tests/xargs/
}
build() {
CFLAGS="$CFLAGS -flto=auto" \
@ -56,6 +73,7 @@ _locate_doc() {
}
sha512sums="
ba4844f4403de0148ad14b46a3dbefd5a721f6257c864bf41a6789b11705408524751c627420b15a52af95564d8e5b52f0978474f640a62ab86a41d20cf14be9 findutils-4.9.0.tar.xz
b8b683d21cd26c6da4f41c56e83cadbda4780f8610a2bbd4b4e34bb1f339c3209721974b03e076d5eef0331fd876d947b398197aad37c29bbcc2e0405c641b34 findutils-4.10.0.tar.xz
79571dc889afa5e6f01c9e1d4134df5e4112a410f24eb3e315645f6886a901780745abe49597d07c6409a3e3ecd3380b1721d86a684b7705c35767111c93bbf5 test-parse-datetime.patch
96ad0472622663540fa462cf74ed66f2b05d03f7aa979cf514b004e311a92fe9a854861b5fa60d95dba2a7cec3226cb7c732ed7c8e40e984b302a23a849dfb4d test-sigusr.patch
"

View file

@ -0,0 +1,11 @@
--- a/tests/xargs/test-sigusr.c
+++ b/tests/xargs/test-sigusr.c
@@ -31,7 +31,7 @@
#include <unistd.h>
/* Gnulib modules */
-#include <error.h>
+#include "error.h"
enum { FLAGFILE_MAX = 128 };