aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-28 09:28:12 -0800
committerAdam Vandenberg2013-11-28 09:28:12 -0800
commiteece7d56882ac5e1d74fae5b648b15a879db0a68 (patch)
treeefff7172a8a9ce2dbd51e80aa149f390c283d234 /Library/Formula
parentf6a74dd6327835ec20178ea9bec0251969f61ea9 (diff)
downloadhomebrew-eece7d56882ac5e1d74fae5b648b15a879db0a68.tar.bz2
launch: fix build on 10.8 and newer
Closes #24739.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/launch.rb5
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"