summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ab
blob: 8238e3eea9483d1ffa7066d9173e138cbdb9a25f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.8 2003/10/07 17:50:37 reed Exp $

--- configure.orig	2003-09-13 05:40:51.000000000 +0000
+++ configure	2003-10-07 16:22:16.000000000 +0000
@@ -5173,10 +5173,6 @@
 
 fi;
 
-if test $linux = yes; then
-  have_libpcap=no
-fi
-
 if test $needs_cpp_precomp = yes; then
   CXXFLAGS="-no-cpp-precomp $CXXFLAGS"
 fi
@@ -5208,6 +5204,7 @@
 extern char pcap_version[];
 int main() {
   int major, minor;
+  exit(0);	/*fool it*/
   sscanf(pcap_version,"%d.%d", &major, &minor);
   if (major > 0)
     exit(0);
@@ -6983,7 +6980,6 @@
 
 
 
-subdirs="$subdirs $subdirs "