diff options
| author | jon | 2011-07-31 12:48:02 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2011-08-19 09:41:35 -0700 |
| commit | d1c524a6624ab2d3383ee906aab3a8831f57306d (patch) | |
| tree | b3980e1e0b062b0beb1672bc733cb18aec50ce6f | |
| parent | 755381091855f322eaeca65980a9cf10e2e1bed8 (diff) | |
| download | homebrew-d1c524a6624ab2d3383ee906aab3a8831f57306d.tar.bz2 | |
vpnc: apply a patch on Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/vpnc.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/vpnc.rb b/Library/Formula/vpnc.rb index 5cc2628bc..8925149af 100644 --- a/Library/Formula/vpnc.rb +++ b/Library/Formula/vpnc.rb @@ -17,6 +17,11 @@ class Vpnc < Formula [["--hybrid", "Use vpnc hybrid authentication."]] end + # Patch from user @Imagesafari to enable compilation on Lion + def patches + DATA if MacOS.lion? + end + def install ENV.no_optimization ENV.deparallelize @@ -52,3 +57,15 @@ class Vpnc < Formula EOS end end + +__END__ +--- vpnc-0.5.3/sysdep.h 2008-11-19 15:36:12.000000000 -0500 ++++ vpnc-0.5.3.patched/sysdep.h 2011-07-14 12:49:18.000000000 -0400 +@@ -109,6 +109,7 @@ + #define HAVE_FGETLN 1 + #define HAVE_UNSETENV 1 + #define HAVE_SETENV 1 ++#define HAVE_GETLINE 1 + #endif + + /***************************************************************************/ |
