diff options
author | adam <adam@pkgsrc.org> | 2011-08-12 09:38:08 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-08-12 09:38:08 +0000 |
commit | 218f191816c30b619227649df59fa8f1c7069ada (patch) | |
tree | cb943446aa45631a111052a3ac0ace2ae71c5400 /net/openvpn | |
parent | 77f7a3daa3303b5593c15efdb9bccf2f3c66a04d (diff) | |
download | pkgsrc-218f191816c30b619227649df59fa8f1c7069ada.tar.gz |
Fix buildling on Mac OS X 10.7
Diffstat (limited to 'net/openvpn')
-rw-r--r-- | net/openvpn/distinfo | 4 | ||||
-rw-r--r-- | net/openvpn/patches/patch-ab | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/net/openvpn/distinfo b/net/openvpn/distinfo index 6c1b7daa420..71c29f0f03c 100644 --- a/net/openvpn/distinfo +++ b/net/openvpn/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.24 2011/07/08 10:15:31 adam Exp $ +$NetBSD: distinfo,v 1.25 2011/08/12 09:38:08 adam Exp $ SHA1 (openvpn-2.2.1.tar.gz) = d5a8e9c635aa330eae8e66e1ccbe2b98e4c3047b RMD160 (openvpn-2.2.1.tar.gz) = 115ff6ac548014d38da9e21bbb91103bcbb0cd09 Size (openvpn-2.2.1.tar.gz) = 911472 bytes SHA1 (patch-aa) = 87ba516fa1ad73ef093d11a35c01ee660a782d99 -SHA1 (patch-ab) = 75611d54a120cd20e867d21137d1736206c3195d +SHA1 (patch-ab) = 47bd8f8cabaa689d1320904213dc42202aa7c604 SHA1 (patch-ac) = f4ae13ab73193205ad5a301b6756b9c9624b5369 SHA1 (patch-ad) = c00d15ae2e6c27e3e3c01bca90ab9481e3305941 SHA1 (patch-ae) = 9f9b601f3c44d8e70b0c28d999e65fe0f538ce33 diff --git a/net/openvpn/patches/patch-ab b/net/openvpn/patches/patch-ab index 9121092ff9f..d417a8dc2e4 100644 --- a/net/openvpn/patches/patch-ab +++ b/net/openvpn/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.7 2011/04/28 07:27:25 adam Exp $ +$NetBSD: patch-ab,v 1.8 2011/08/12 09:38:08 adam Exp $ --- syshead.h.orig 2010-11-04 19:29:02.000000000 +0000 +++ syshead.h @@ -13,3 +13,13 @@ $NetBSD: patch-ab,v 1.7 2011/04/28 07:27:25 adam Exp $ #ifdef HAVE_NET_IF_TUN_H #include <net/if_tun.h> #endif +@@ -387,6 +391,9 @@ + */ + #if defined(ENABLE_MULTIHOME) && defined(HAVE_IN_PKTINFO) && defined(IP_PKTINFO) && defined(HAVE_MSGHDR) && defined(HAVE_CMSGHDR) && defined(HAVE_IOVEC) && defined(CMSG_FIRSTHDR) && defined(CMSG_NXTHDR) && defined(HAVE_RECVMSG) && defined(HAVE_SENDMSG) + #define ENABLE_IP_PKTINFO 1 ++#ifndef SOL_IP ++#define SOL_IP 0 ++#endif + #else + #define ENABLE_IP_PKTINFO 0 + #endif |