Permalink
Browse files

Update Rust for 0.6.0

  • Loading branch information...
1 parent a526be1 commit 33ec4c6f03dd103c1e3139b4e16ae724e31b0491 @steveklabnik committed Apr 3, 2013
Showing with 2 additions and 12 deletions.
  1. +2 −12 Library/Formula/rust.rb
View
@@ -2,24 +2,14 @@
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

0 comments on commit 33ec4c6

Please sign in to comment.