Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -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;