diff options
| author | Robert Clausecker <fuz@fuz.su> | 2022-11-11 21:32:38 +0100 |
|---|---|---|
| committer | Juraj Lutter <otis@FreeBSD.org> | 2022-11-11 21:32:38 +0100 |
| commit | 37cf0da23dbd0c1d91602d25e831a7dc0dde1224 (patch) | |
| tree | 161c1a81a5ce822a823841f0c531d1ad3ec9c1c5 /security/fragrouter/files/patch-Libnet-0.99b__configure | |
| parent | x11/py-autotiling: Add new port (diff) | |
security/fragrouter: fix build on BPF-less jails
Such jails don't have /dev/bpf0, making a crucial configure test fail.
Fix the configure test to make the build succeed (e.g. on armv7).
And while here, also assume MAINTAINER.
PR: 267646
Diffstat (limited to 'security/fragrouter/files/patch-Libnet-0.99b__configure')
| -rw-r--r-- | security/fragrouter/files/patch-Libnet-0.99b__configure | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/security/fragrouter/files/patch-Libnet-0.99b__configure b/security/fragrouter/files/patch-Libnet-0.99b__configure index 9ff3b3166c8c..e1beb14d0aed 100644 --- a/security/fragrouter/files/patch-Libnet-0.99b__configure +++ b/security/fragrouter/files/patch-Libnet-0.99b__configure @@ -1,6 +1,6 @@ ---- Libnet-0.99b/configure.orig Mon Jul 26 08:08:51 1999 -+++ Libnet-0.99b/configure Sat Jan 8 01:00:45 2000 -@@ -884,10 +884,6 @@ +--- Libnet-0.99b/configure.orig 1999-07-26 15:08:51 UTC ++++ Libnet-0.99b/configure +@@ -884,10 +884,6 @@ fi @@ -11,3 +11,12 @@ # Check whether --with-pf_packet or --without-pf_packet was given. if test "${with_pf_packet+set}" = set; then +@@ -1192,7 +1188,7 @@ fi + echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6 + echo "configure:1194: checking low-level packet interface type" >&5 + +-if test -r /dev/bpf0 ; then ++if test -r /usr/include/net/bpf.h ; then + LL_INT_TYPE=bpf + echo "$ac_t""found bpf" 1>&6 + elif test -r /usr/include/net/pfilt.h ; then |
