git: acf324208feb - main - misc/findutils: update to 4.10.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 12:56:55 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=acf324208febfa7042d7ca392a7f79f025cbcf92

commit acf324208febfa7042d7ca392a7f79f025cbcf92
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-06-15 15:48:46 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-06-16 11:53:06 +0000

    misc/findutils: update to 4.10.0
    
     - remove obsolete patches
     - work around time_t being 32 bits on i386
    
    Changelog: https://lists.gnu.org/archive/html/bug-findutils/2024-06/msg00017.html
---
 misc/findutils/Makefile                       |  9 ++++++---
 misc/findutils/distinfo                       |  6 +++---
 misc/findutils/files/patch-configure          | 18 ------------------
 misc/findutils/files/patch-gl_lib_fdopendir.c | 14 --------------
 misc/findutils/pkg-plist                      |  1 +
 5 files changed, 10 insertions(+), 38 deletions(-)

diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile
index b30e9ecfed36..1485424423d8 100644
--- a/misc/findutils/Makefile
+++ b/misc/findutils/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	findutils
-DISTVERSION=	4.9.0
-PORTREVISION=	1
+DISTVERSION=	4.10.0
 CATEGORIES=	misc
 MASTER_SITES=	GNU
 
@@ -16,8 +15,12 @@ CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS=	--program-prefix=g --localstatedir=${LOCALSTATEDIR}
+i386_CONFIGURE_ARGS=	--disable-year2038
+CONFIGURE_ARGS=	--program-prefix=g \
+		--localstatedir=${LOCALSTATEDIR} \
+		${${ARCH}_CONFIGURE_ARGS}
 
+TEST_TARGET=	check
 MAKE_ARGS=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
 INFO=		find find-maint
 
diff --git a/misc/findutils/distinfo b/misc/findutils/distinfo
index b581c0af1c76..3f125ca58509 100644
--- a/misc/findutils/distinfo
+++ b/misc/findutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643823406
-SHA256 (findutils-4.9.0.tar.xz) = a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
-SIZE (findutils-4.9.0.tar.xz) = 2046252
+TIMESTAMP = 1718465696
+SHA256 (findutils-4.10.0.tar.xz) = 1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5
+SIZE (findutils-4.10.0.tar.xz) = 2240712
diff --git a/misc/findutils/files/patch-configure b/misc/findutils/files/patch-configure
deleted file mode 100644
index 8b840165f205..000000000000
--- a/misc/findutils/files/patch-configure
+++ /dev/null
@@ -1,18 +0,0 @@
---- configure.orig	2021-01-09 16:35:30 UTC
-+++ configure
-@@ -16276,6 +16276,15 @@ $as_echo "$gl_cv_type_wctrans_t" >&6; }
-   fi
- 
- 
-+  if test $ac_use_included_regex = yes; then
-+    case $LIBOBJS in
-+    "regex.$ac_objext"   | \
-+  *" regex.$ac_objext"   | \
-+    "regex.$ac_objext "* | \
-+  *" regex.$ac_objext "* ) ;;
-+  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
-+    esac
-+  fi
- 
- 
- 
diff --git a/misc/findutils/files/patch-gl_lib_fdopendir.c b/misc/findutils/files/patch-gl_lib_fdopendir.c
deleted file mode 100644
index d33709cea80f..000000000000
--- a/misc/findutils/files/patch-gl_lib_fdopendir.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- gl/lib/fdopendir.c.orig	2021-01-01 18:54:11 UTC
-+++ gl/lib/fdopendir.c
-@@ -227,9 +227,11 @@ fd_clone_opendir (int fd, struct saved_cwd const *cwd)
- 
- # include <errno.h>
- # include <sys/stat.h>
-+# include <dirent.h>
- 
- # undef fdopendir
- 
-+extern DIR *fdopendir(int);
- /* Like fdopendir, but work around GNU/Hurd bug by validating FD.  */
- 
- DIR *
diff --git a/misc/findutils/pkg-plist b/misc/findutils/pkg-plist
index 42bdb410bec7..f46a4bef3dbf 100644
--- a/misc/findutils/pkg-plist
+++ b/misc/findutils/pkg-plist
@@ -27,6 +27,7 @@ share/man/man5/glocatedb.5.gz
 %%NLS%%share/locale/id/LC_MESSAGES/findutils.mo
 %%NLS%%share/locale/it/LC_MESSAGES/findutils.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/findutils.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/findutils.mo
 %%NLS%%share/locale/ko/LC_MESSAGES/findutils.mo
 %%NLS%%share/locale/lg/LC_MESSAGES/findutils.mo
 %%NLS%%share/locale/lt/LC_MESSAGES/findutils.mo