1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Update to 3.1.0.

This commit is contained in:
Stephen Montgomery-Smith 2017-12-22 04:55:14 +00:00
parent 1e49fe5e5a
commit 37e563c614
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456967
3 changed files with 4 additions and 18 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= octave-forge-interval
PORTVERSION= 3.0.0
PORTVERSION= 3.1.0
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1508897358
SHA256 (octave-forge/interval-3.0.0.tar.gz) = 879c3bd443ac9470756cf671118dbf281d84149dfced62d7947074ff3a801a5b
SIZE (octave-forge/interval-3.0.0.tar.gz) = 2835125
TIMESTAMP = 1513918325
SHA256 (octave-forge/interval-3.1.0.tar.gz) = 854573a4093c1042523280d7f3bc2918fc3aaf2af5be3fb6ce79c6faf3913421
SIZE (octave-forge/interval-3.1.0.tar.gz) = 2430098

View File

@ -1,14 +0,0 @@
--- mpfr_function_d.cc.orig 2017-08-20 08:32:14 UTC
+++ mpfr_function_d.cc
@@ -217,7 +217,11 @@ void nthroot (
for (octave_idx_type i = 0; i < n; i ++)
{
mpfr_set_d (mp, arg1.elem (i), MPFR_RNDZ);
+#ifdef OCTAVE_ENSURE_LONG_DOUBLE_OPERATIONS_ARE_NOT_TRUNCATED
+ mpfr_root (mp, mp, (unsigned long long)arg2.elem(i), rnd);
+#else
mpfr_root (mp, mp, arg2.elem(i), rnd);
+#endif
arg1.elem (i) = mpfr_get_d (mp, rnd);
}