summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-07-08 09:24:48 +0000
committeradam <adam@pkgsrc.org>2011-07-08 09:24:48 +0000
commitd587ec8d6e84990a73803b902068101e8abf12f6 (patch)
tree13df51a74453e29c324b567c2ba3032cd1a46eef /net/nmap
parent89b5642d669b899f87dc1b76264158e9d9134cc7 (diff)
downloadpkgsrc-d587ec8d6e84990a73803b902068101e8abf12f6.tar.gz
Fix configuring with Clang.
Diffstat (limited to 'net/nmap')
-rw-r--r--net/nmap/Makefile4
-rw-r--r--net/nmap/distinfo3
-rw-r--r--net/nmap/patches/patch-nbase_configure24
3 files changed, 28 insertions, 3 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile
index f4616f984fb..f59c2d10fb0 100644
--- a/net/nmap/Makefile
+++ b/net/nmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2011/06/05 23:10:12 pettai Exp $
+# $NetBSD: Makefile,v 1.82 2011/07/08 09:24:48 adam Exp $
#
DISTNAME= nmap-5.51
@@ -17,7 +17,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
BUILDLINK_API_DEPENDS.libpcap= libpcap>=1.0.0
BUILDLINK_API_DEPENDS.libpcre= libpcre>=7.6
-BUILDLINK_API_DEPENDS.openssl= openssl>=0.9.8
+BUILDLINK_API_DEPENDS.openssl= openssl>=0.9.8
GNU_CONFIGURE= yes
diff --git a/net/nmap/distinfo b/net/nmap/distinfo
index 0f0b03ad164..8614e200d58 100644
--- a/net/nmap/distinfo
+++ b/net/nmap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.50 2011/06/05 23:10:12 pettai Exp $
+$NetBSD: distinfo,v 1.51 2011/07/08 09:24:48 adam Exp $
SHA1 (nmap-5.51.tar.bz2) = 3415ad9a3915d7e162c9e91435cc35d9c73ac7f6
RMD160 (nmap-5.51.tar.bz2) = d5ac8b245234e122936b40c80927a3c4afba53bd
@@ -7,3 +7,4 @@ SHA1 (patch-ab) = b709689e4bda3bc928ba120678f24a2e2321f612
SHA1 (patch-ac) = c22e8f6411b1152a6e7582c90e5ec5bd4c6acaad
SHA1 (patch-al) = c56396c28d96314c8d7e8b19a92bd5db7959e289
SHA1 (patch-am) = 8d9515d1247ab5ad5855f7f7065e90cde5fb2b9f
+SHA1 (patch-nbase_configure) = 3db822d392defd92d531b71f466b61be82e525a1
diff --git a/net/nmap/patches/patch-nbase_configure b/net/nmap/patches/patch-nbase_configure
new file mode 100644
index 00000000000..97695d0e4ff
--- /dev/null
+++ b/net/nmap/patches/patch-nbase_configure
@@ -0,0 +1,24 @@
+$NetBSD: patch-nbase_configure,v 1.1 2011/07/08 09:24:48 adam Exp $
+
+Fix configuring with Clang.
+
+--- nbase/configure.orig 2011-01-21 21:00:04.000000000 +0000
++++ nbase/configure
+@@ -4509,7 +4509,7 @@ else
+ #include <sys/socket.h>
+ #endif
+
+-void main(void) {
++int main(void) {
+ struct addrinfo hints, *ai;
+ int error;
+
+@@ -4641,7 +4641,7 @@ else
+ #include <netinet/in.h>
+ #endif
+
+-void main(void) {
++int main(void) {
+ struct sockaddr_in sa;
+ char hbuf[256];
+ int error;