openbsd-ports/net/nmap/patches/patch-configure

12 lines
388 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.13 2011/03/28 09:01:24 giovanni Exp $
--- configure.orig Wed Feb 2 16:27:11 2011
+++ configure Wed Feb 2 16:27:25 2011
@@ -6115,6 +6115,7 @@ else
extern char pcap_version[];
int main() {
int major, minor1, minor2;
+ exit(0); /* fool it, use our libpcap */
sscanf(pcap_version,"%d.%d.%d", &major, &minor1, &minor2);
if (major > 0)
exit(0);