packages/net/arpd/patches/configure-no-bpf.patch
florian ab33ba8973 Port arpd to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 17:40:39 +00:00

13 lines
517 B
Diff

--- arpd/configure.orig Sun Feb 9 19:31:28 2003
+++ arpd/configure Thu Jul 21 16:05:16 2005
@@ -2258,8 +2258,7 @@
if cd $withval; then withval=`pwd`; cd $owd; fi
PCAPINC="-I$withval -I$withval/bpf"
PCAPLIB="-L$withval -lpcap"
- elif test -f $withval/include/pcap.h -a \
- -f $withval/include/net/bpf.h; then
+ elif test -f $withval/include/pcap.h; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi
PCAPINC="-I$withval/include"