summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-libdnet-stripped_configure
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2018-01-30 21:02:54 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2018-01-30 21:02:54 +0000
commit89768ae6bbab66466c3e1217908eaedf1b45178c (patch)
treef1c997641bf4e0f504f43726364016afc8a69eab /security/nmap/files/patch-libdnet-stripped_configure
parentgames/openra: NUGET_PACKAGEDIR is a symlink after r460430 (diff)
- update to 7.60
- regenerate patches with makepatch PR: ports/221522
Notes
Notes: svn path=/head/; revision=460437
Diffstat (limited to 'security/nmap/files/patch-libdnet-stripped_configure')
-rw-r--r--security/nmap/files/patch-libdnet-stripped_configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/security/nmap/files/patch-libdnet-stripped_configure b/security/nmap/files/patch-libdnet-stripped_configure
new file mode 100644
index 000000000000..2f8357e7c87d
--- /dev/null
+++ b/security/nmap/files/patch-libdnet-stripped_configure
@@ -0,0 +1,26 @@
+--- libdnet-stripped/configure.orig 2017-02-13 19:46:23 UTC
++++ libdnet-stripped/configure
+@@ -733,6 +733,9 @@ ac_includes_default="\
+ #ifdef HAVE_STDINT_H
+ # include <stdint.h>
+ #endif
++#ifdef HAVE_SYS_SOCKET_H
++# include <sys/socket.h>
++#endif
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif"
+@@ -11716,11 +11719,8 @@ $as_echo_n "checking for Berkeley Packet
+ if test "${ac_cv_dnet_bsd_bpf+set}" = set; 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