Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 03:13:08 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453088 - head/math/octave-forge-interval/files
Message-ID:  <201710290313.v9T3D8bk018957@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+     }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710290313.v9T3D8bk018957>