rust: fix compilation for Mountain Lion/clang 4.1

Should be fixed in next release of rust:
25bc65b487

Closes Homebrew/homebrew#15143.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Scott Greenlay 2012-09-26 19:33:40 -03:00 committed by Adam Vandenberg
parent 2f3403b73f
commit 28c9ac1892

View file

@ -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"
;;