Branch oldpackages for 14.07
[14.07/packages.git] / net / dsniff / patches / 006-pcap_header.patch
1 Index: dsniff-2.4/configure
2 ===================================================================
3 --- dsniff-2.4.orig/configure   2010-11-03 23:42:52.921000006 +0100
4 +++ dsniff-2.4/configure        2010-11-03 23:43:00.504000001 +0100
5 @@ -3033,7 +3033,7 @@
6         PCAPINC="-I$withval -I$withval/bpf"
7         PCAPLIB="-L$withval -lpcap"
8       elif test -f $withval/include/pcap.h -a \
9 -              -f $withval/include/net/bpf.h -a \
10 +              -f $withval/include/pcap-bpf.h -a \
11                -f $withval/lib/libpcap.a; then
12         owd=`pwd`
13         if cd $withval; then withval=`pwd`; cd $owd; fi