[80159] trunk/dports/net/vpnc
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 5 09:53:53 PDT 2011
Revision: 80159
http://trac.macports.org/changeset/80159
Author: ryandesign at macports.org
Date: 2011-07-05 09:53:52 -0700 (Tue, 05 Jul 2011)
Log Message:
-----------
vpnc: fix build on Lion by not defining getline; #30035
Modified Paths:
--------------
trunk/dports/net/vpnc/Portfile
Added Paths:
-----------
trunk/dports/net/vpnc/files/patch-sysdep.h
Modified: trunk/dports/net/vpnc/Portfile
===================================================================
--- trunk/dports/net/vpnc/Portfile 2011-07-05 16:49:24 UTC (rev 80158)
+++ trunk/dports/net/vpnc/Portfile 2011-07-05 16:53:52 UTC (rev 80159)
@@ -29,7 +29,7 @@
port:libgpg-error
depends_run port:tuntaposx
-patchfiles patch-config.c
+patchfiles patch-config.c patch-sysdep.h
post-patch { reinplace "s|__ETCDIR__|${prefix}/etc|g" ${worksrcpath}/config.c }
use_configure no
Added: trunk/dports/net/vpnc/files/patch-sysdep.h
===================================================================
--- trunk/dports/net/vpnc/files/patch-sysdep.h (rev 0)
+++ trunk/dports/net/vpnc/files/patch-sysdep.h 2011-07-05 16:53:52 UTC (rev 80159)
@@ -0,0 +1,15 @@
+--- sysdep.h.orig 2008-11-19 21:36:12.000000000 +0100
++++ sysdep.h 2011-07-05 12:18:11.000000000 +0200
+@@ -109,6 +109,12 @@
+ #define HAVE_FGETLN 1
+ #define HAVE_UNSETENV 1
+ #define HAVE_SETENV 1
++
++#include <Availability.h>
++#ifdef __MAC_10_7
++#define HAVE_GETLINE 1
++#endif
++
+ #endif
+
+ /***************************************************************************/
Property changes on: trunk/dports/net/vpnc/files/patch-sysdep.h
___________________________________________________________________
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110705/aa8d6780/attachment.html>
More information about the macports-changes
mailing list