aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gmtl.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb
index dfe162e70..81fef0f84 100644
--- a/Library/Formula/gmtl.rb
+++ b/Library/Formula/gmtl.rb
@@ -17,6 +17,13 @@ class Gmtl < Formula
depends_on 'scons' => :build
+ # The scons script in gmtl only works for gcc, patch it
+ # https://sourceforge.net/p/ggt/bugs/28/
+ patch do
+ url "https://gist.githubusercontent.com/anonymous/c16cad998a4903e6b3a8/raw/e4669b3df0e14996c7b7b53937dd6b6c2cbc7c04/gmtl_Sconstruct.diff"
+ sha1 "6470e7db1df3c5b3d73d301c761bfcffc8de5913"
+ end
+
def install
scons "install", "prefix=#{prefix}"
end