diff options
| author | Adam Vandenberg | 2013-11-28 09:28:12 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-28 09:28:12 -0800 |
| commit | eece7d56882ac5e1d74fae5b648b15a879db0a68 (patch) | |
| tree | efff7172a8a9ce2dbd51e80aa149f390c283d234 /Library/Formula | |
| parent | f6a74dd6327835ec20178ea9bec0251969f61ea9 (diff) | |
| download | homebrew-eece7d56882ac5e1d74fae5b648b15a879db0a68.tar.bz2 | |
launch: fix build on 10.8 and newer
Closes #24739.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/launch.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/launch.rb b/Library/Formula/launch.rb index 245d28dad..48fada839 100644 --- a/Library/Formula/launch.rb +++ b/Library/Formula/launch.rb @@ -7,6 +7,11 @@ class Launch < Formula head 'http://dev.sabi.net/svn/dev/trunk/launch/launch/', :using => :svn + # Fix compilation on 10.8 and newer, per MacPorts + def patches + {:p0 => "https://trac.macports.org/export/114086/trunk/dports/aqua/launch/files/patch-main.c.diff"} + end + def install rm_rf "launch" # We'll build it ourself, thanks. system "#{ENV.cc} -o launch -std=c99 #{ENV.cflags} main.c -framework ApplicationServices" |
