packages/net/arpd/patches/001-configure_no_bpf.patch
florian 211cee0578 [package] make arpd depend on librt, refresh patches (#5816)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 12:23:08 +00:00

13 lines
485 B
Diff

--- a/configure
+++ b/configure
@@ -2258,8 +2258,7 @@ echo "${ECHO_T}$withval" >&6
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"