ports/security/nmap/files/patch-libdnet-stripped__configure
Olli Hauer e48f1b3666 - update to 6.49BETA5
- use DOCS instead PORTDOCS
- remove gcc workaround [1]
- (hopefully) use the correct __FreeBSD_version for SOCK_RAW

Changelog:
https://nmap.org/changelog.html

PR:		196065 [1]
PR:		200558 [2]
PR:		202139 [3]

Submitted by:	sbruno@ , mikael.urankar@gmail.com [1]
Submitted by:	truckman@ [2]
Submitted by:	trasz@ [3]
2015-09-27 10:32:29 +00:00

17 lines
500 B
Plaintext

--- libdnet-stripped/configure.orig 2011-09-28 06:55:47 UTC
+++ libdnet-stripped/configure
@@ -14344,11 +14344,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:$LINENO: result: $ac_cv_dnet_bsd_bpf" >&5