SOURCES: ngrep-pcap.patch (NEW) - libpcap 1.0.0 compatible

areq areq at pld-linux.org
Sat Jan 3 23:10:06 CET 2009


Author: areq                         Date: Sat Jan  3 22:10:06 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- libpcap 1.0.0 compatible

---- Files affected:
SOURCES:
   ngrep-pcap.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ngrep-pcap.patch
diff -u /dev/null SOURCES/ngrep-pcap.patch:1.1
--- /dev/null	Sat Jan  3 23:10:06 2009
+++ SOURCES/ngrep-pcap.patch	Sat Jan  3 23:10:00 2009
@@ -0,0 +1,25 @@
+--- 1/configure.in.org	2009-01-03 21:58:37.659815983 +0000
++++ 2/configure.in	2009-01-03 21:59:25.723141313 +0000
+@@ -277,21 +277,7 @@
+ [PCAP_DIR=$withval],
+ [PCAP_DIR=$possible_dirs])
+ 
+-pcap_dir=""
+-for dir in $PCAP_DIR ; do 
+-    if test -d $dir -a -r "$dir/pcap.h" ; then 
+-       if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then
+-          echo 
+-          echo; echo more than one set found in:
+-          echo  $pcap_dir 
+-          echo  $dir
+-          echo; echo please wipe out all unused pcap installations
+-          exit
+-       else 
+-          pcap_dir="$dir"
+-       fi
+-    fi
+-done
++pcap_dir="/usr/include/pcap"
+ 
+ if test -z "$pcap_dir" ; then
+    echo no; echo !!! couldn\'t find a complete set of pcap headers
================================================================


More information about the pld-cvs-commit mailing list