Rust 0.6.0
Closes Homebrew/homebrew#18940. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a931d13a2a
commit
e01e15e1ad
1 changed files with 2 additions and 12 deletions
|
@ -2,24 +2,14 @@ require 'formula'
|
||||||
|
|
||||||
class Rust < Formula
|
class Rust < Formula
|
||||||
homepage 'http://www.rust-lang.org/'
|
homepage 'http://www.rust-lang.org/'
|
||||||
url 'http://dl.rust-lang.org/dist/rust-0.5.tar.gz'
|
url 'http://static.rust-lang.org/dist/rust-0.6.tar.gz'
|
||||||
sha256 'd326d22707f0562d669c11efbc33ae812ddbf76ab78f07087fc5beb095a8928a'
|
sha256 'e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5'
|
||||||
|
|
||||||
fails_with :clang do
|
fails_with :clang do
|
||||||
build 318
|
build 318
|
||||||
cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'"
|
cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'"
|
||||||
end
|
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
|
def install
|
||||||
args = ["--prefix=#{prefix}"]
|
args = ["--prefix=#{prefix}"]
|
||||||
args << "--enable-clang" if ENV.compiler == :clang
|
args << "--enable-clang" if ENV.compiler == :clang
|
||||||
|
|
Loading…
Reference in a new issue