svn commit: r453088 - head/math/octave-forge-interval/files

Stephen Montgomery-Smith stephen at FreeBSD.org
Sun Oct 29 03:13:10 UTC 2017


Author: stephen
Date: Sun Oct 29 03:13:08 2017
New Revision: 453088
URL: https://svnweb.freebsd.org/changeset/ports/453088

Log:
  - Attempt to fix build errors in the i386 architecture.
  
  Reported by:	http://beefy11.nyi.freebsd.org/data/head-i386-default/p453041_s325049/logs/octave-forge-interval-3.0.0.log

Added:
  head/math/octave-forge-interval/files/
  head/math/octave-forge-interval/files/patch-mpfr__function__d.cc   (contents, props changed)

Added: head/math/octave-forge-interval/files/patch-mpfr__function__d.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/octave-forge-interval/files/patch-mpfr__function__d.cc	Sun Oct 29 03:13:08 2017	(r453088)
@@ -0,0 +1,14 @@
+--- 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);
+     }
+ 


More information about the svn-ports-all mailing list