From 4c6717acec002e9886fb9dc475ce66dccc6e2bb1 Mon Sep 17 00:00:00 2001 From: Juan Sebastian Casallas Date: Thu, 2 Oct 2014 00:53:26 -0500 Subject: gmtl: patch scons script to build on clang. The upstream scons script only allows to compile using gcc, but not clang --- Library/Formula/gmtl.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3