freebsd-ports/security/nmap/files/patch-libdnet-stripped_configure
Olli Hauer 89768ae6bb - update to 7.60
- regenerate patches with makepatch

PR:		ports/221522
2018-01-30 21:02:54 +00:00

26 lines
723 B
Text

--- 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