summaryrefslogtreecommitdiff
path: root/security/nmap-devel/files/patch-libdnet-stripped_configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/nmap-devel/files/patch-libdnet-stripped_configure')
-rw-r--r--security/nmap-devel/files/patch-libdnet-stripped_configure22
1 files changed, 4 insertions, 18 deletions
diff --git a/security/nmap-devel/files/patch-libdnet-stripped_configure b/security/nmap-devel/files/patch-libdnet-stripped_configure
index 74170ec491a6..06520638f3ea 100644
--- a/security/nmap-devel/files/patch-libdnet-stripped_configure
+++ b/security/nmap-devel/files/patch-libdnet-stripped_configure
@@ -1,8 +1,8 @@
---- libdnet-stripped/configure.orig 2017-08-02 18:48:27 UTC
+--- libdnet-stripped/configure.orig 2025-04-30 19:58:18 UTC
+++ libdnet-stripped/configure
-@@ -764,6 +764,9 @@ ac_includes_default="\
- #ifdef HAVE_STDINT_H
- # include <stdint.h>
+@@ -650,6 +650,9 @@ ac_includes_default="\
+ #ifdef HAVE_SYS_STAT_H
+ # include <sys/stat.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
@@ -10,17 +10,3 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
-@@ -11828,11 +11831,8 @@ $as_echo_n "checking for Berkeley Packet Filter... " >
- if ${ac_cv_dnet_bsd_bpf+:} false; then :
- $as_echo_n "(cached) " >&6
- else
-- if test -c /dev/bpf0 ; then
-- ac_cv_dnet_bsd_bpf=yes
-- else
-- ac_cv_dnet_bsd_bpf=no
-- fi
-+# PR ports/154353 : support building in FreeBSD jail
-+ ac_cv_dnet_bsd_bpf=yes
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dnet_bsd_bpf" >&5