git: 8c145c704e4d - main - textproc/diffutils: Update 3.8 => 3.11

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 21 Feb 2025 17:27:53 UTC
The branch main has been updated by vvd:

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

commit 8c145c704e4de1aa39ad6908c231e68ec289d8f0
Author:     Collin Funk <collin.funk1@gmail.com>
AuthorDate: 2025-02-21 17:20:30 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-21 17:25:42 +0000

    textproc/diffutils: Update 3.8 => 3.11
    
    Release announcement and changelog:
    https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00003.html
    
    Improve port:
     - replace PORTVERSION with DISTVERSION,
     - remove unnecessary dependency from devel/libsigsegv,
     - remove GNU_CONFIGURE_MANPREFIX,
     - pet portclippy.
    
    PR:             284552
    Approved by:    schaiba@gmail.com (maintainer)
---
 textproc/diffutils/Makefile              | 14 +++++---------
 textproc/diffutils/distinfo              |  6 +++---
 textproc/diffutils/files/patch-configure | 20 --------------------
 textproc/diffutils/pkg-plist             |  2 ++
 4 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index aab0a4f24904..31b04b00a3fd 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -1,31 +1,27 @@
 PORTNAME=	diffutils
-PORTVERSION=	3.8
-PORTREVISION=	1
+DISTVERSION=	3.11
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
-LICENSE=	GPLv3+
-
 MAINTAINER=	schaiba@gmail.com
 COMMENT=	GNU differential compare utilities
 WWW=		https://www.gnu.org/software/diffutils/diffutils.html
 
-LIB_DEPENDS=	libsigsegv.so:devel/libsigsegv
+LICENSE=	GPLv3+
 
 USES=		charsetfix cpe tar:xz
+CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-prefix=g
 TEST_TARGET=	check
-CPE_VENDOR=	gnu
+
+INFO=		diffutils
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 NLS_USES=	gettext iconv
 NLS_CONFIGURE_ENABLE=nls
 
-INFO=		diffutils
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^mkdir/s:@mkdir_p@:${MKDIR}:' \
 		${WRKSRC}/po/Makefile.in.in
diff --git a/textproc/diffutils/distinfo b/textproc/diffutils/distinfo
index 710397db25b8..58b9b8751ab6 100644
--- a/textproc/diffutils/distinfo
+++ b/textproc/diffutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627869571
-SHA256 (diffutils-3.8.tar.xz) = a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec
-SIZE (diffutils-3.8.tar.xz) = 1585120
+TIMESTAMP = 1738634662
+SHA256 (diffutils-3.11.tar.xz) = a73ef05fe37dd585f7d87068e4a0639760419f810138bd75c61ddaa1f9e2131e
+SIZE (diffutils-3.11.tar.xz) = 1926052
diff --git a/textproc/diffutils/files/patch-configure b/textproc/diffutils/files/patch-configure
deleted file mode 100644
index 02d8ce285d16..000000000000
--- a/textproc/diffutils/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig	2021-08-02 01:56:20 UTC
-+++ configure
-@@ -34085,7 +34085,7 @@ else $as_nop
-       elxsi | \
-       fr30 | \
-       h8300 | \
--      i?86 | x86_64 | \
-+      i?86 | x86_64 | amd64 | \
-       i860 | \
-       ia64 | \
-       m32r | \
-@@ -34134,7 +34134,7 @@ find_stack_direction (int *addr, int depth)
-   return dir + dummy;
- }
- int
--main (int argc, char *argv)
-+main (int argc, char *argv[])
- {
-   printf ("%d\n", find_stack_direction (NULL, argc + 20));
-   return 0;
diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist
index a1468ebf3a7d..ce17be971e33 100644
--- a/textproc/diffutils/pkg-plist
+++ b/textproc/diffutils/pkg-plist
@@ -24,6 +24,8 @@ share/man/man1/gsdiff.1.gz
 %%NLS%%share/locale/id/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/it/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/diffutils.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/diffutils.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/lv/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/ms/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/nb/LC_MESSAGES/diffutils.mo