git: 582a64b66cfb - main - sysutils/lsof: Fix build with FreeBSD 16

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 19:29:56 UTC
The branch main has been updated by yasu:

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

commit 582a64b66cfb2c2fc9f8c330cd6d1a93215ebef2
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-09-05 18:52:43 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-09-05 19:28:31 +0000

    sysutils/lsof: Fix build with FreeBSD 16
    
    Approved by:    portmgr (implicit, just fix it)
---
 sysutils/lsof/files/patch-Configure | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/sysutils/lsof/files/patch-Configure b/sysutils/lsof/files/patch-Configure
new file mode 100644
index 000000000000..a453f43d8266
--- /dev/null
+++ b/sysutils/lsof/files/patch-Configure
@@ -0,0 +1,14 @@
+--- Configure.orig	2024-11-18 02:11:27 UTC
++++ Configure
+@@ -1089,6 +1089,11 @@ case $LSOF_TGT in	# {
+ 	LSOF_TSTBIGF=" "
+ 	LSOF_VERS=15000
+ 	;;
++      16*)
++	LSOF_CFGL="$LSOF_CFGL -lutil"
++	LSOF_TSTBIGF=" "
++	LSOF_VERS=16000
++	;;
+       *)
+ 	echo Unknown FreeBSD release: `uname -r`
+ 	rm -f $LSOF_HLP