[84323] trunk/dports/net/openvpn2
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 22 08:43:45 PDT 2011
Revision: 84323
http://trac.macports.org/changeset/84323
Author: ryandesign at macports.org
Date: 2011-09-22 08:43:45 -0700 (Thu, 22 Sep 2011)
Log Message:
-----------
openvpn2: Fix build on Lion; see #30253
Modified Paths:
--------------
trunk/dports/net/openvpn2/Portfile
Added Paths:
-----------
trunk/dports/net/openvpn2/files/
trunk/dports/net/openvpn2/files/patch-syshead.h.diff
Modified: trunk/dports/net/openvpn2/Portfile
===================================================================
--- trunk/dports/net/openvpn2/Portfile 2011-09-22 15:07:41 UTC (rev 84322)
+++ trunk/dports/net/openvpn2/Portfile 2011-09-22 15:43:45 UTC (rev 84323)
@@ -24,6 +24,8 @@
depends_lib port:lzo2 port:openssl
+patchfiles patch-syshead.h.diff
+
configure.args --mandir=${prefix}/share/man \
--with-lzo-headers=${prefix}/include \
--with-lzo-lib=${prefix}/lib \
Added: trunk/dports/net/openvpn2/files/patch-syshead.h.diff
===================================================================
--- trunk/dports/net/openvpn2/files/patch-syshead.h.diff (rev 0)
+++ trunk/dports/net/openvpn2/files/patch-syshead.h.diff 2011-09-22 15:43:45 UTC (rev 84323)
@@ -0,0 +1,17 @@
+--- syshead.h.orig 2011-06-23 23:13:39.000000000 -0700
++++ syshead.h 2011-07-26 14:49:07.000000000 -0700
+@@ -392,6 +392,13 @@
+ #endif
+
+ /*
++ * Define a proper IP socket level if not already done.
++ */
++#ifndef SOL_IP
++#define SOL_IP IPPROTO_IP
++#endif
++
++/*
+ * Disable ESEC
+ */
+ #if 0
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110922/41bdccb4/attachment.html>
More information about the macports-changes
mailing list