From 582a64b66cfb2c2fc9f8c330cd6d1a93215ebef2 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Sat, 6 Sep 2025 03:52:43 +0900 Subject: [PATCH] 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(+) create mode 100644 sysutils/lsof/files/patch-Configure 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