packages/net/dsniff/patches/pcap-header.patch
florian 965ba14fff Port dsniff to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-01 17:05:44 +00:00

13 lines
520 B
Diff

diff -Nur dsniff-2.3/configure dsniff-2.3.patched/configure
--- dsniff-2.3/configure 2000-12-03 05:35:46.000000000 +0100
+++ dsniff-2.3.patched/configure 2005-06-09 11:44:33.000000000 +0200
@@ -3023,7 +3023,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