packages/net/dsniff/patches/006-pcap_header.patch
mb 742074cfb0 dsniff: uClibc-0.9.31 fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 22:45:51 +00:00

14 lines
553 B
Diff

Index: dsniff-2.4/configure
===================================================================
--- dsniff-2.4.orig/configure 2010-11-03 23:42:52.921000006 +0100
+++ dsniff-2.4/configure 2010-11-03 23:43:00.504000001 +0100
@@ -3033,7 +3033,7 @@
PCAPINC="-I$withval -I$withval/bpf"
PCAPLIB="-L$withval -lpcap"
elif test -f $withval/include/pcap.h -a \
- -f $withval/include/net/bpf.h -a \
+ -f $withval/include/pcap-bpf.h -a \
-f $withval/lib/libpcap.a; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi