summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ab
blob: 366ad2b4d56d3e5b8cdd1579f667246509804654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ab,v 1.18 2012/09/16 20:29:06 pettai Exp $

--- configure.orig	2011-01-21 21:00:04.000000000 +0000
+++ configure
@@ -6115,6 +6115,7 @@ else
 extern char pcap_version[];
 int main() {
   int major, minor1, minor2;
+  exit(0);	/* fool it */
   sscanf(pcap_version,"%d.%d.%d", &major, &minor1, &minor2);
   if (major > 0)
     exit(0);