summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-08-30 22:40:00 +0000
committerjoerg <joerg@pkgsrc.org>2013-08-30 22:40:00 +0000
commitbc15605bd43bc364ce8b7f01b31e2ca4b8adcfac (patch)
tree0696278b5906f567b99cabf01d4fe0b538e84fb3
parent19bff2ef9f9115cab8bafea7588ebf52d7cc50a0 (diff)
downloadpkgsrc-bc15605bd43bc364ce8b7f01b31e2ca4b8adcfac.tar.gz
Don't try to use IP_PKTINFO on NetBSD.
-rw-r--r--net/xorp/distinfo3
-rw-r--r--net/xorp/patches/patch-fea_data__plane_io_io__ip__socket.cc13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/xorp/distinfo b/net/xorp/distinfo
index 495ed123f7e..05b31940324 100644
--- a/net/xorp/distinfo
+++ b/net/xorp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2013/06/13 21:48:09 joerg Exp $
+$NetBSD: distinfo,v 1.22 2013/08/30 22:40:00 joerg Exp $
SHA1 (xorp-1.6.tar.gz) = 366d32068ed76b8ec69958b601d4fbde61ef4cbb
RMD160 (xorp-1.6.tar.gz) = 32b3f6d03defc816ed983088e61b5e808de17f98
@@ -18,6 +18,7 @@ SHA1 (patch-fea_data__plane_control__socket_click__socket.hh) = 1e0ea2de08a131a9
SHA1 (patch-fea_data__plane_control__socket_netlink__socket.hh) = 2b2c774a8e9778d438292850f4a310403d019365
SHA1 (patch-fea_data__plane_control__socket_routing__socket.hh) = 1acad764066424d1fc457ea7e130636257248530
SHA1 (patch-fea_data__plane_control__socket_windows__rtm__pipe.hh) = 608b22a8507e2a44c5eea26e964c6201e7240420
+SHA1 (patch-fea_data__plane_io_io__ip__socket.cc) = 4e1cd4341e037e288cb636e8ebfa7483d73c311a
SHA1 (patch-libfeaclient_ifmgr__atoms.hh) = 702363b8346820d92a84ae9798c06b4e2d5b62f9
SHA1 (patch-libproto_config__node__id.hh) = 83f79e69c5fff84d01bb6ce2f311dd1802bcc92a
SHA1 (patch-libproto_packet.hh) = a5e8a8fe88bbaf20ef48cf136770fb5f7325b400
diff --git a/net/xorp/patches/patch-fea_data__plane_io_io__ip__socket.cc b/net/xorp/patches/patch-fea_data__plane_io_io__ip__socket.cc
new file mode 100644
index 00000000000..8ba90ac701e
--- /dev/null
+++ b/net/xorp/patches/patch-fea_data__plane_io_io__ip__socket.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-fea_data__plane_io_io__ip__socket.cc,v 1.1 2013/08/30 22:40:00 joerg Exp $
+
+--- fea/data_plane/io/io_ip_socket.cc.orig 2013-08-30 21:41:39.000000000 +0000
++++ fea/data_plane/io/io_ip_socket.cc
+@@ -2068,7 +2068,7 @@ IoIpSocket::send_packet(const string& if
+ #endif
+
+ #ifdef IP_PKTINFO
+-#ifndef HOST_OS_WINDOWS
++#if !defined(HOST_OS_WINDOWS) && !defined(__NetBSD__)
+ // XXX: Linux
+ {
+ //