Mon Sep 3 09:04:24 2018 UTC ()
py-scipy: add upstream bug reports


(wiz)
diff -r1.18 -r1.19 pkgsrc/math/py-scipy/distinfo
diff -r1.2 -r1.3 pkgsrc/math/py-scipy/patches/patch-scipy_special___round.h

cvs diff -r1.18 -r1.19 pkgsrc/math/py-scipy/distinfo (expand / switch to unified diff)

--- pkgsrc/math/py-scipy/distinfo 2018/09/03 08:57:24 1.18
+++ pkgsrc/math/py-scipy/distinfo 2018/09/03 09:04:24 1.19
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.18 2018/09/03 08:57:24 wiz Exp $ 1$NetBSD: distinfo,v 1.19 2018/09/03 09:04:24 wiz Exp $
2 2
3SHA1 (scipy-1.1.0.tar.gz) = 965e7ac23ac1bc2809a1fa13d429aea352bdd124 3SHA1 (scipy-1.1.0.tar.gz) = 965e7ac23ac1bc2809a1fa13d429aea352bdd124
4RMD160 (scipy-1.1.0.tar.gz) = 960b360b8499728a6d10a2421594ab5a81739b3a 4RMD160 (scipy-1.1.0.tar.gz) = 960b360b8499728a6d10a2421594ab5a81739b3a
5SHA512 (scipy-1.1.0.tar.gz) = 72fe32c6c009613cb78202598e5db14f8e630b3218839cfe18d43d40550d94cc5aa100c6f5d41f40e86ae148e9b6a13431bb91b0f9be44b0569ccd7b725fe973 5SHA512 (scipy-1.1.0.tar.gz) = 72fe32c6c009613cb78202598e5db14f8e630b3218839cfe18d43d40550d94cc5aa100c6f5d41f40e86ae148e9b6a13431bb91b0f9be44b0569ccd7b725fe973
6Size (scipy-1.1.0.tar.gz) = 15583560 bytes 6Size (scipy-1.1.0.tar.gz) = 15583560 bytes
7SHA1 (patch-scipy_special___round.h) = 1575cf7068fe52b78a039e437b6841c0e570ceb9 7SHA1 (patch-scipy_special___round.h) = bc05a935e6423ce8395450ad3b30e88826939422

cvs diff -r1.2 -r1.3 pkgsrc/math/py-scipy/patches/Attic/patch-scipy_special___round.h (expand / switch to unified diff)

--- pkgsrc/math/py-scipy/patches/Attic/patch-scipy_special___round.h 2018/06/14 14:29:16 1.2
+++ pkgsrc/math/py-scipy/patches/Attic/patch-scipy_special___round.h 2018/09/03 09:04:24 1.3
@@ -1,18 +1,23 @@ @@ -1,18 +1,23 @@
1$NetBSD: patch-scipy_special___round.h,v 1.2 2018/06/14 14:29:16 jperkin Exp $ 1$NetBSD: patch-scipy_special___round.h,v 1.3 2018/09/03 09:04:24 wiz Exp $
2 2
 3Chunk 1: SunOS fix
 4https://github.com/scipy/scipy/issues/9214
 5
 6Chunk 2:
3This conditional is just wrong, when built with c++, __STDC_VERSION__ 7This conditional is just wrong, when built with c++, __STDC_VERSION__
4is not defined. Make a cheezy fix which insists on <fenv.h> when 8is not defined. Make a cheezy fix which insists on <fenv.h> when
5built with C++. 9built with C++.
 10https://github.com/scipy/scipy/issues/9213
6 11
7--- scipy/special/_round.h.orig 2018-05-05 17:10:11.000000000 +0000 12--- scipy/special/_round.h.orig 2018-05-05 17:10:11.000000000 +0000
8+++ scipy/special/_round.h 13+++ scipy/special/_round.h
9@@ -9,6 +9,10 @@ 14@@ -9,6 +9,10 @@
10 #include "_c99compat.h" 15 #include "_c99compat.h"
11 #include "cephes/dd_idefs.h" 16 #include "cephes/dd_idefs.h"
12  17
13+#if defined(__cplusplus) 18+#if defined(__cplusplus)
14+using std::isinf; 19+using std::isinf;
15+using std::isnan; 20+using std::isnan;
16+#endif 21+#endif
17  22
18 double add_round_up(double a, double b) 23 double add_round_up(double a, double b)