summaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-08-30 22:39:27 +0000
committerjoerg <joerg@pkgsrc.org>2013-08-30 22:39:27 +0000
commit2670b9820ae96dd319a9413bb044d148571240dd (patch)
treec2dc022de99b1984346421c64ae9583fbff65e88 /net/mrt
parentf192c873b833bd7242971ee06aa4153c10bf55dd (diff)
downloadpkgsrc-2670b9820ae96dd319a9413bb044d148571240dd.tar.gz
Don't use IP_PKTINFO on NetBSD.
Diffstat (limited to 'net/mrt')
-rw-r--r--net/mrt/distinfo3
-rw-r--r--net/mrt/patches/patch-lib_kernel_socket.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/mrt/distinfo b/net/mrt/distinfo
index 499d8c9625c..0a58bcdeb23 100644
--- a/net/mrt/distinfo
+++ b/net/mrt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2007/12/21 13:30:12 obache Exp $
+$NetBSD: distinfo,v 1.7 2013/08/30 22:39:27 joerg Exp $
SHA1 (mrt-2.2.2a-Aug11.tar.gz) = 6290a0b8d5539fddbd562d8dec64deb291dd3369
RMD160 (mrt-2.2.2a-Aug11.tar.gz) = e62d3b06d802757cbb1aa4225713b8bf7523ba77
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = 1689741472239677511a8e06357fc37f34eae4d4
SHA1 (patch-af) = 83678e7e5b1016cfd29b0b8efcc362b3500daf3f
SHA1 (patch-ag) = 1719581ab090e77b51642f999f96b54fa8434a10
SHA1 (patch-ah) = 38e50462c50c89ea12330cbe91ddf7f66f59dada
+SHA1 (patch-lib_kernel_socket.c) = 2ad0556982d0997df6a608fa9f3836e99d5c7f05
diff --git a/net/mrt/patches/patch-lib_kernel_socket.c b/net/mrt/patches/patch-lib_kernel_socket.c
new file mode 100644
index 00000000000..b5a64a8cb85
--- /dev/null
+++ b/net/mrt/patches/patch-lib_kernel_socket.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_kernel_socket.c,v 1.1 2013/08/30 22:39:27 joerg Exp $
+
+--- lib/kernel/socket.c.orig 2013-08-30 20:24:06.000000000 +0000
++++ lib/kernel/socket.c
+@@ -976,7 +976,7 @@ recvmsgfrom (int sockfd, u_char *buffer,
+ else
+ #endif /* HAVE_IPV6 */
+ switch (cmsg->cmsg_type) {
+-#ifdef IP_PKTINFO
++#if defined(IP_PKTINFO) && !defined(__NetBSD__)
+ case IP_PKTINFO:
+ {
+ struct in_pktinfo *info;