aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2012-03-28 10:23:41 -0500
committerMisty De Meo2012-03-28 10:23:41 -0500
commit5a85c0efbd1c3963f17c5b5c1b6cfd01951accab (patch)
tree2cc94b7cd686a972127fa76606cbd13ceb5573d1 /Library/Formula
parent12d6ce44950257e454c7ce18a9622bfa8a28cc8c (diff)
downloadhomebrew-5a85c0efbd1c3963f17c5b5c1b6cfd01951accab.tar.bz2
luajit: apply hotfix#1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/luajit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/luajit.rb b/Library/Formula/luajit.rb
index 695f3cce6..1809e5b6c 100644
--- a/Library/Formula/luajit.rb
+++ b/Library/Formula/luajit.rb
@@ -15,6 +15,11 @@ class Luajit < Formula
[["--enable-debug", "Build with debugging symbols."]]
end
+ def patches
+ # Hotfix#1 is recommended by the LuaJIT developers
+ "http://luajit.org/download/beta9_hotfix1.patch"
+ end
+
def install
if ARGV.include? '--enable-debug'
system "make", "CCDEBUG=-g", "PREFIX=#{prefix}",