git: 54b3112625f8 - main - sysutils/lsof: Fix build for 15-CURRENT

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 30 Aug 2023 01:48:57 UTC
The branch main has been updated by cy:

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

commit 54b3112625f87804b8d069e82b31f900758603fb
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-08-30 01:45:50 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-08-30 01:48:51 +0000

    sysutils/lsof: Fix build for 15-CURRENT
    
    Add support for 15-current in Configure script.
    
    Approved by:    portmgr (blanket)
    MFH:            2023Q3
---
 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..390a3f07b7bf
--- /dev/null
+++ b/sysutils/lsof/files/patch-Configure
@@ -0,0 +1,14 @@
+--- Configure.orig	2023-01-16 22:42:40.000000000 -0800
++++ Configure	2023-08-29 18:43:40.296306000 -0700
+@@ -1209,6 +1209,11 @@
+ 	LSOF_TSTBIGF=" "
+ 	LSOF_VERS=14000
+ 	;;
++      15*)
++	LSOF_CFGL="$LSOF_CFGL -lutil"
++	LSOF_TSTBIGF=" "
++	LSOF_VERS=15000
++	;;
+       *)
+ 	echo Unknown FreeBSD release: `uname -r`
+ 	rm -f $LSOF_HLP