aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rust
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-07-20 06:06:33 +0800
committerak <ak@FreeBSD.org>2012-07-20 06:06:33 +0800
commit99294ed65ee50bea76934592b6b8d657130fd38e (patch)
tree2f3959335e8bf66a6cafde619d20ec5fe45431c0 /lang/rust
parent71a2a8094778c7171df6c9c98a02f6a496417899 (diff)
downloadfreebsd-ports-gnome-99294ed65ee50bea76934592b6b8d657130fd38e.tar.gz
freebsd-ports-gnome-99294ed65ee50bea76934592b6b8d657130fd38e.tar.zst
freebsd-ports-gnome-99294ed65ee50bea76934592b6b8d657130fd38e.zip
- Update to 0.3 (see https://github.com/mozilla/rust/blob/release-0.3/RELEASES.txt)
PR: ports/169906 Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile5
-rw-r--r--lang/rust/distinfo8
-rw-r--r--lang/rust/files/patch-src_libcore_f32.rs14
-rw-r--r--lang/rust/pkg-plist14
4 files changed, 22 insertions, 19 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index bdeddf9b0bed..0ae844fe8ca1 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rust
-PORTVERSION= 0.2
+PORTVERSION= 0.3
CATEGORIES= lang
MASTER_SITES= http://dl.rust-lang.org/dist/:src \
http://dl.rust-lang.org/stage0-snapshots/:boot
@@ -19,13 +19,14 @@ COMMENT= A language with a focus on memory safety and concurrency
RUST_SOURCE= ${DISTNAME}${EXTRACT_SUFX}
RUST_BOOT= rust-stage0-${RUST_BOOT_SIG}.tar.bz2
-RUST_BOOT_SIG= 2012-03-27-eec6383-freebsd-x86_64-595f06a3c7a073917fa3274d2aafa6328c50754b
+RUST_BOOT_SIG= 2012-07-06-b5f5676-freebsd-x86_64-926e17746576397c10af9796d30af6a730329f71
RUST_TARGET= x86_64-unknown-freebsd
ONLY_FOR_ARCHS= amd64
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
USE_PERL5_BUILD= yes
USE_PYTHON_BUILD= 2.6-2.7
diff --git a/lang/rust/distinfo b/lang/rust/distinfo
index c4a8d375b80c..c54251c477ae 100644
--- a/lang/rust/distinfo
+++ b/lang/rust/distinfo
@@ -1,4 +1,4 @@
-SHA256 (rust-0.2.tar.gz) = cedf679fd6bf46b63b9d754496920cbaa8c9ba4187d40f5f78fc28e775820f0d
-SIZE (rust-0.2.tar.gz) = 11349998
-SHA256 (rust-stage0-2012-03-27-eec6383-freebsd-x86_64-595f06a3c7a073917fa3274d2aafa6328c50754b.tar.bz2) = 13627f7eb203736b8aaacd82db92af77cac653c12025d793cc38a3c29aea4930
-SIZE (rust-stage0-2012-03-27-eec6383-freebsd-x86_64-595f06a3c7a073917fa3274d2aafa6328c50754b.tar.bz2) = 8917839
+SHA256 (rust-0.3.tar.gz) = b34c895b9596abb6942d1688e6a5189b08b92e2507234779779c1af91e9ae84e
+SIZE (rust-0.3.tar.gz) = 22310335
+SHA256 (rust-stage0-2012-07-06-b5f5676-freebsd-x86_64-926e17746576397c10af9796d30af6a730329f71.tar.bz2) = b991df3cd68568e549241eab5d8b5e9f9dfacb7edaaebca1dd0176c91d0047e2
+SIZE (rust-stage0-2012-07-06-b5f5676-freebsd-x86_64-926e17746576397c10af9796d30af6a730329f71.tar.bz2) = 10308861
diff --git a/lang/rust/files/patch-src_libcore_f32.rs b/lang/rust/files/patch-src_libcore_f32.rs
index 46380a843642..e9d1f7799b67 100644
--- a/lang/rust/files/patch-src_libcore_f32.rs
+++ b/lang/rust/files/patch-src_libcore_f32.rs
@@ -1,16 +1,16 @@
---- src/libcore/f32.rs.orig 2012-04-01 10:40:20.915606509 +0800
-+++ src/libcore/f32.rs 2012-04-01 10:43:43.847606825 +0800
+--- src/libcore/f32.rs.orig 2012-07-16 17:14:25.444144084 +0800
++++ src/libcore/f32.rs 2012-07-16 17:15:29.799514797 +0800
@@ -5,6 +5,8 @@
import cmath::c_float::*;
import cmath::c_float_targ_consts::*;
+import cmath::c_double;
+
- // FIXME find out why these have to be exported explicitly
-
- export add, sub, mul, div, rem, lt, le, gt, eq, eq, ne;
-@@ -176,6 +178,10 @@
- ret ln(n) / consts::ln_2;
+ export add, sub, mul, div, rem, lt, le, gt, eq, ne;
+ export is_positive, is_negative, is_nonpositive, is_nonnegative;
+ export is_zero, is_infinite, is_finite;
+@@ -179,6 +181,10 @@
+ fn from_int(n: int) -> f32 { ret n as f32; }
}
+pure fn tgamma(n: f32) -> f32 {
diff --git a/lang/rust/pkg-plist b/lang/rust/pkg-plist
index e7fe2b64cfd6..8ac2dc3dd1ef 100644
--- a/lang/rust/pkg-plist
+++ b/lang/rust/pkg-plist
@@ -1,16 +1,18 @@
%%CARGO%%bin/cargo
bin/rustc
bin/rustdoc
-lib/libcore-d27e4777a53c3e50-0.2.so
-lib/librustc-7d2730a49abe278a-0.2.so
+lib/libcore-d27e4777a53c3e50-0.3.so
+lib/librustc-73389320c1332876-0.3.so
lib/librustllvm.so
lib/librustrt.so
-lib/libstd-d399da1ab6f5bec0-0.2.so
-lib/rustc/x86_64-unknown-freebsd/lib/libcore-d27e4777a53c3e50-0.2.so
+lib/libstd-d399da1ab6f5bec0-0.3.so
+lib/libsyntax-b45cc7d0b085bc34-0.3.so
+lib/rustc/x86_64-unknown-freebsd/lib/libcore-d27e4777a53c3e50-0.3.so
lib/rustc/x86_64-unknown-freebsd/lib/libmorestack.a
-lib/rustc/x86_64-unknown-freebsd/lib/librustc-7d2730a49abe278a-0.2.so
+lib/rustc/x86_64-unknown-freebsd/lib/librustc-73389320c1332876-0.3.so
lib/rustc/x86_64-unknown-freebsd/lib/librustrt.so
-lib/rustc/x86_64-unknown-freebsd/lib/libstd-d399da1ab6f5bec0-0.2.so
+lib/rustc/x86_64-unknown-freebsd/lib/libstd-d399da1ab6f5bec0-0.3.so
+lib/rustc/x86_64-unknown-freebsd/lib/libsyntax-b45cc7d0b085bc34-0.3.so
@dirrm lib/rustc/x86_64-unknown-freebsd/lib
@dirrm lib/rustc/x86_64-unknown-freebsd
@dirrm lib/rustc