diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-01-07 06:35:04 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-01-07 06:35:04 +0000 |
commit | c4f6241798c522372520069e9322b1eab487eb93 (patch) | |
tree | 5814ceb83e4a222b15bb103a7fb7e6c6a07bf513 /lang/rust/files/tgammaf.patch | |
parent | JavaScript minifier. (diff) |
- Update to 0.5
PR: ports/174670
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Notes
Notes:
svn path=/head/; revision=310023
Diffstat (limited to 'lang/rust/files/tgammaf.patch')
-rw-r--r-- | lang/rust/files/tgammaf.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust/files/tgammaf.patch b/lang/rust/files/tgammaf.patch index a548e804bcdd..ec35761daf40 100644 --- a/lang/rust/files/tgammaf.patch +++ b/lang/rust/files/tgammaf.patch @@ -14,7 +14,7 @@ pub use cmath::c_float::*; pub use cmath::c_float_targ_consts::*; -+priv use cmath::c_double; ++priv use cmath::c_double_utils; + // These are not defined inside consts:: for consistency with // the integer types @@ -24,7 +24,7 @@ } +pub pure fn tgamma(n: f32) -> f32 { -+ return c_double::tgamma(n as f64) as f32; ++ return c_double_utils::tgamma(n as f64) as f32; +} + pub pure fn signbit(x: f32) -> int { |