summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-11-19 00:47:08 +0000
committermaya <maya@pkgsrc.org>2016-11-19 00:47:08 +0000
commitb0feff8243185f8ec98372a2e10b432fc36d360c (patch)
tree6ea045e421b7927db0e3318aac21e9d2ee7e95fe /math/octave
parentf845f3d0301325ac8e57db44bd0a221d7147c35e (diff)
downloadpkgsrc-b0feff8243185f8ec98372a2e10b432fc36d360c.tar.gz
octave: reference llvm & octave bug reports for ambiguous float
precision patch.
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/distinfo4
-rw-r--r--math/octave/patches/patch-liboctave_operators_mx-inlines.cc5
2 files changed, 6 insertions, 3 deletions
diff --git a/math/octave/distinfo b/math/octave/distinfo
index 9173a9c60fa..be7caa4c3f6 100644
--- a/math/octave/distinfo
+++ b/math/octave/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2016/09/28 02:54:15 maya Exp $
+$NetBSD: distinfo,v 1.49 2016/11/19 00:47:08 maya Exp $
SHA1 (octave-4.0.3.tar.xz) = c798346a8271e0141d9dbe5610584dabb8311277
RMD160 (octave-4.0.3.tar.xz) = 32bad5cdb6b832d651183b92f59b396940d6ec04
@@ -28,7 +28,7 @@ SHA1 (patch-libinterp_dldfcn_config-module.awk) = 50d7173114f597038b01ed4479583c
SHA1 (patch-libinterp_dldfcn_module.mk) = 7627fa6132036f26b77743d30dbbe99ed6442b42
SHA1 (patch-libinterp_oct-conf.in.h) = 9a6b0e8d38bc2f9da916cb3d8145307e7a415f4f
SHA1 (patch-liboctave_numeric_oct-fftw.h) = b152566ad3fcf6c5c1808f4428e6d51966ca1daf
-SHA1 (patch-liboctave_operators_mx-inlines.cc) = 3f01077700a3b8f51a3a171fdc11bafd784e3ea3
+SHA1 (patch-liboctave_operators_mx-inlines.cc) = 3002122937942a4a2bbcc6fff90398d082971d53
SHA1 (patch-liboctave_system_oct-time.cc) = 7b8a33911c69861572e35320e13c6c777048bc6c
SHA1 (patch-m4_acinclude.m4) = 194b8c3cf6f5e45a0251b229af9b3a47c12aa608
SHA1 (patch-scripts_pkg_private_configure__make.m) = 7d4b620f889faa66c4c9c581ef8a7e7692b68c94
diff --git a/math/octave/patches/patch-liboctave_operators_mx-inlines.cc b/math/octave/patches/patch-liboctave_operators_mx-inlines.cc
index df7608198dd..da22ca77448 100644
--- a/math/octave/patches/patch-liboctave_operators_mx-inlines.cc
+++ b/math/octave/patches/patch-liboctave_operators_mx-inlines.cc
@@ -1,10 +1,13 @@
-$NetBSD: patch-liboctave_operators_mx-inlines.cc,v 1.1 2016/02/16 04:21:40 dbj Exp $
+$NetBSD: patch-liboctave_operators_mx-inlines.cc,v 1.2 2016/11/19 00:47:08 maya Exp $
std::pow is required to promote numeric arguments to the smallest
common float type. octave_int<> provides another test of template
specializations for pow() as well as explicit cast operators.
The combination of both leads to ambiguous resolutions.
+https://savannah.gnu.org/bugs/?43298
+https://llvm.org/bugs/show_bug.cgi?id=21083
+
--- liboctave/operators/mx-inlines.cc.orig 2015-05-23 14:21:53.000000000 +0000
+++ liboctave/operators/mx-inlines.cc
@@ -307,7 +307,6 @@ inline void F (size_t n, R *r, X x, cons