diff options
| author | Steve Klabnik | 2013-04-03 10:36:04 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-03 11:00:13 -0700 |
| commit | 461428fe936658e04a83218f494900ef6ba2101c (patch) | |
| tree | 5df2c182fcecd0a74b60a7cd39084c009f7982c8 /Library/Formula/rust.rb | |
| parent | a526be19b3038cb17f3b3a573af4ae8bb5894a03 (diff) | |
| download | homebrew-461428fe936658e04a83218f494900ef6ba2101c.tar.bz2 | |
Rust 0.6.0
Closes #18940.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/rust.rb')
| -rw-r--r-- | Library/Formula/rust.rb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb index 846e5912c..87be0699e 100644 --- a/Library/Formula/rust.rb +++ b/Library/Formula/rust.rb @@ -2,24 +2,14 @@ require 'formula' class Rust < Formula homepage 'http://www.rust-lang.org/' - url 'http://dl.rust-lang.org/dist/rust-0.5.tar.gz' - sha256 'd326d22707f0562d669c11efbc33ae812ddbf76ab78f07087fc5beb095a8928a' + url 'http://static.rust-lang.org/dist/rust-0.6.tar.gz' + sha256 'e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5' fails_with :clang do build 318 cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'" end - # Fix repl showstopper bug; can be removed for 0.6. - # and add clang 4.2 support for new XCode - def patches - [ "https://github.com/mozilla/rust/commit/9bf87bbf66227c132283ae59720f919601de9a56.patch", - "https://github.com/mozilla/rust/commit/37f97ff5041839aa42892115de954489f9eab5bc.patch", - "https://github.com/mozilla/rust/commit/bb51a8442fb16d71faccac1abfa953d8b1e37cb7.patch", - "https://github.com/mozilla/rust/commit/2c46bf7e318f585947c2146ce42c249fba3bc326.patch", - "https://github.com/mozilla/rust/commit/3ee1d3ebb81de199fc630a86933ac18c0a869482.patch" ] - end - def install args = ["--prefix=#{prefix}"] args << "--enable-clang" if ENV.compiler == :clang |
