aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rust.rb
diff options
context:
space:
mode:
authorScott Greenlay2012-09-26 19:33:40 -0300
committerAdam Vandenberg2012-09-26 16:35:44 -0700
commit598dab29978556e6b91c8f3ae450250c7bf1c27c (patch)
treec1960e3c180a45d677195cc0dfd657397219131f /Library/Formula/rust.rb
parentac6d5eccbcc1c0a2d861a3665a7ed051af1d5e51 (diff)
downloadhomebrew-598dab29978556e6b91c8f3ae450250c7bf1c27c.tar.bz2
rust: fix compilation for Mountain Lion/clang 4.1
Should be fixed in next release of rust: https://github.com/mozilla/rust/commit/25bc65b487cecd3c7712d05fb1c5707982bf6f89 Closes #15143. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/rust.rb')
-rw-r--r--Library/Formula/rust.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb
index a5eca9a45..7860a555e 100644
--- a/Library/Formula/rust.rb
+++ b/Library/Formula/rust.rb
@@ -13,6 +13,8 @@ class Rust < Formula
def patches
# fix for Mountain Lion's clang 4.0
# should be part of next release (commit 50f2db4)
+ # fix for Mountain Lion's clang 4.1
+ # should be part of next release (commit 25bc65b)
DATA
end
@@ -41,7 +43,7 @@ index 06bddcc..040bae9 100755
case $CFG_CLANG_VERSION in
- (3.0svn | 3.0 | 3.1)
-+ (3.0svn | 3.0 | 3.1 | 4.0)
++ (3.0svn | 3.0 | 3.1 | 4.0 | 4.1)
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
CFG_C_COMPILER="clang"
;;