6be3bf2d66da640d19ba63604905da6c4474ee9a
[packages.git] / net / dsniff / patches / 06-pcap_header.patch
1 diff -Nur dsniff-2.3/configure dsniff-2.3.patched/configure
2 --- dsniff-2.3/configure        2000-12-03 05:35:46.000000000 +0100
3 +++ dsniff-2.3.patched/configure        2005-06-09 11:44:33.000000000 +0200
4 @@ -3023,7 +3023,7 @@
5         PCAPINC="-I$withval -I$withval/bpf"
6         PCAPLIB="-L$withval -lpcap"
7       elif test -f $withval/include/pcap.h -a \
8 -              -f $withval/include/net/bpf.h -a \
9 +              -f $withval/include/pcap-bpf.h -a \
10                -f $withval/lib/libpcap.a; then
11         owd=`pwd`
12         if cd $withval; then withval=`pwd`; cd $owd; fi