openbsd-ports/net/nmap/patches/patch-configure
giovanni 35ac3b7309 Update to version 5.51, lot of improvements since latest version,
full changelog available at http://nmap.org/changelog.html
Nping needs a very current libpcap to work as root
2011-03-28 09:01:24 +00:00

12 lines
388 B
Plaintext

$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);