pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/nmap Fix build on OpenBSD. Defuzz patches. Problem...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e1fe5286896
branches: trunk
changeset: 635516:2e1fe5286896
user: rodent <rodent%pkgsrc.org@localhost>
date: Sat Jun 07 23:12:16 2014 +0000
description:
Fix build on OpenBSD. Defuzz patches. Problem reported to nmap-dev.
diffstat:
net/nmap/distinfo | 7 ++++---
net/nmap/patches/patch-ab | 6 +++---
net/nmap/patches/patch-ac | 4 ++--
net/nmap/patches/patch-libnetutil_netutil.cc | 14 ++++++++++++++
4 files changed, 23 insertions(+), 8 deletions(-)
diffs (61 lines):
diff -r d0fb01781a89 -r 2e1fe5286896 net/nmap/distinfo
--- a/net/nmap/distinfo Sat Jun 07 20:37:42 2014 +0000
+++ b/net/nmap/distinfo Sat Jun 07 23:12:16 2014 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.61 2013/09/24 21:29:20 drochner Exp $
+$NetBSD: distinfo,v 1.62 2014/06/07 23:12:16 rodent Exp $
SHA1 (nmap-6.40.tar.bz2) = ee1bec1bb62045c7c1fc69ff183b2ae9b97bd0eb
RMD160 (nmap-6.40.tar.bz2) = 6da4bd1a71386e52d4c76d3c3c1773c989e72c55
Size (nmap-6.40.tar.bz2) = 7871636 bytes
-SHA1 (patch-ab) = ab3df07bc7a57fa6736f743c480e0c9497b43053
-SHA1 (patch-ac) = c22e8f6411b1152a6e7582c90e5ec5bd4c6acaad
+SHA1 (patch-ab) = 442683349642a665e7d0a90bc581b971919ead8b
+SHA1 (patch-ac) = a5904d0f6c47198c5022b75b612f01e5708db593
SHA1 (patch-ad) = 278be81387bc47566ee498a4f6ef4e2d4c1d522f
+SHA1 (patch-libnetutil_netutil.cc) = 7bd1059d6cbcf4f6d129730d6c6f6bc3ab54c0a0
diff -r d0fb01781a89 -r 2e1fe5286896 net/nmap/patches/patch-ab
--- a/net/nmap/patches/patch-ab Sat Jun 07 20:37:42 2014 +0000
+++ b/net/nmap/patches/patch-ab Sat Jun 07 23:12:16 2014 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.19 2013/05/20 06:21:22 adam Exp $
+$NetBSD: patch-ab,v 1.20 2014/06/07 23:12:16 rodent Exp $
---- configure.orig 2012-11-16 00:54:16.000000000 +0000
+--- configure.orig 2013-05-13 04:21:11.000000000 +0000
+++ configure
-@@ -6311,6 +6311,7 @@ else
+@@ -6322,6 +6322,7 @@ else
extern char pcap_version[];
int main() {
int major, minor1, minor2;
diff -r d0fb01781a89 -r 2e1fe5286896 net/nmap/patches/patch-ac
--- a/net/nmap/patches/patch-ac Sat Jun 07 20:37:42 2014 +0000
+++ b/net/nmap/patches/patch-ac Sat Jun 07 23:12:16 2014 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.7 2009/07/20 19:40:08 adrianp Exp $
+$NetBSD: patch-ac,v 1.8 2014/06/07 23:12:16 rodent Exp $
---- ndiff/setup.py.orig 2009-06-24 22:35:54.000000000 +0100
+--- ndiff/setup.py.orig 2009-04-20 19:15:00.000000000 +0000
+++ ndiff/setup.py
@@ -29,5 +29,5 @@ class checked_install(distutils.command.
+ "Installing your distribution's python-dev package may solve this problem.")
diff -r d0fb01781a89 -r 2e1fe5286896 net/nmap/patches/patch-libnetutil_netutil.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nmap/patches/patch-libnetutil_netutil.cc Sat Jun 07 23:12:16 2014 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-libnetutil_netutil.cc,v 1.1 2014/06/07 23:12:16 rodent Exp $
+
+OpenBSD's socket.h doesn't include <sys/uio.h>.
+
+--- libnetutil/netutil.cc.orig 2013-07-28 22:08:48.000000000 +0000
++++ libnetutil/netutil.cc
+@@ -147,6 +147,7 @@
+ #if HAVE_SYS_SOCKIO_H
+ #include <sys/sockio.h> /* SIOCGIFCONF for Solaris */
+ #endif
++#include <sys/uio.h>
+
+ /* Define CMSG_* symbols for Solaris 9 and earlier. See
+ http://wiki.opencsw.org/porting-faq#toc10. */
Home |
Main Index |
Thread Index |
Old Index