1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
PR:	ports/169906
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
This commit is contained in:
Alex Kozlov 2012-07-19 22:06:33 +00:00
parent 1fa1fd91a8
commit 686606009c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301193
4 changed files with 22 additions and 19 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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