diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2011-07-31 21:49:46 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2011-07-31 21:49:46 +0000 |
commit | c746ce5b7b1d46c043cb95ba6408004fed9c0bad (patch) | |
tree | 8c1331cbe0e6bbb97f0b113f2034460b7c92a2e5 /security/nmap | |
parent | e7b6652023d678075b72b10b007806e5bb775154 (diff) | |
download | ports-c746ce5b7b1d46c043cb95ba6408004fed9c0bad.tar.gz ports-c746ce5b7b1d46c043cb95ba6408004fed9c0bad.zip |
Notes
Diffstat (limited to 'security/nmap')
-rw-r--r-- | security/nmap/files/patch-nbase__configure | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/nmap/files/patch-nbase__configure b/security/nmap/files/patch-nbase__configure new file mode 100644 index 000000000000..a6a7d5e4f783 --- /dev/null +++ b/security/nmap/files/patch-nbase__configure @@ -0,0 +1,22 @@ +This patch allows nmap to build with clang +=============================================================== +--- ./nbase/configure.orig 2011-06-29 00:19:31.000000000 +0200 ++++ ./nbase/configure 2011-07-31 23:17:57.000000000 +0200 +@@ -4515,7 +4515,7 @@ + #include <sys/socket.h> + #endif + +-void main(void) { ++int main(void) { + struct addrinfo hints, *ai; + int error; + +@@ -4647,7 +4647,7 @@ + #include <netinet/in.h> + #endif + +-void main(void) { ++int main(void) { + struct sockaddr_in sa; + char hbuf[256]; + int error; |