aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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 c1f45fdeb..3f694f096 100644
--- a/Library/Formula/luajit.rb
+++ b/Library/Formula/luajit.rb
@@ -13,6 +13,11 @@ class Luajit < Formula
[["--debug", "Build with debugging symbols."]]
end
+ # Apply beta8 hotfix #1
+ def patches
+ { :p1 => "http://luajit.org/download/beta8_hotfix1.patch" }
+ end
+
def install
if ARGV.include? '--debug'
system "make", "CCDEBUG=-g", "PREFIX=#{prefix}", "install"