packages/net/dsniff/patches/006-pcap_header.patch

14 lines
553 B
Diff
Raw Normal View History

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