aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rust.rb
diff options
context:
space:
mode:
authorDaniel Luz2012-10-15 18:20:04 -0300
committerAdam Vandenberg2012-10-17 19:38:27 -0700
commit8a6c64ee2593e79fa455556159747fe05a6bb19e (patch)
treead387c806ffaea889cfc06e8e55a323f160b48a9 /Library/Formula/rust.rb
parentbc3987d983603b3c337dd530318412875dff0886 (diff)
downloadhomebrew-8a6c64ee2593e79fa455556159747fe05a6bb19e.tar.bz2
Rust 0.4
Closes #15477. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/rust.rb')
-rw-r--r--Library/Formula/rust.rb27
1 files changed, 2 insertions, 25 deletions
diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb
index 7860a555e..fea8d8066 100644
--- a/Library/Formula/rust.rb
+++ b/Library/Formula/rust.rb
@@ -2,22 +2,14 @@ require 'formula'
class Rust < Formula
homepage 'http://www.rust-lang.org/'
- url 'http://dl.rust-lang.org/dist/rust-0.3.1.tar.gz'
- sha256 'eb99ff2e745ecb6eaf01d4caddebce397a2b4cda6836a051cb2d493b9cedd018'
+ url 'http://dl.rust-lang.org/dist/rust-0.4.tar.gz'
+ sha256 '150685f07e4d605cadf9fba25b05e9cc1b009364dd744131cf4230d64981d093'
fails_with :clang do
build 318
cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'"
end
- 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
-
def install
args = ["--prefix=#{prefix}"]
args << "--enable-clang" if ENV.compiler == :clang
@@ -32,18 +24,3 @@ class Rust < Formula
system "#{bin}/cargo"
end
end
-
-__END__
-diff --git a/configure b/configure
-index 06bddcc..040bae9 100755
---- a/configure
-+++ b/configure
-@@ -400,7 +400,7 @@ then
- | cut -d ' ' -f 2)
-
- case $CFG_CLANG_VERSION in
-- (3.0svn | 3.0 | 3.1)
-+ (3.0svn | 3.0 | 3.1 | 4.0 | 4.1)
- step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
- CFG_C_COMPILER="clang"
- ;;