summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-30 16:57:25 +0000
committeradam <adam@pkgsrc.org>2021-11-30 16:57:25 +0000
commit4b4f435ed1234f2a4c9b3fb8e3147eb0cca300ad (patch)
tree3b273c755979bacec2805d8fe8f1c4f7460cfacf /meta-pkgs
parentfa8006b2a1c803729790046b5d8dc6b999644f61 (diff)
downloadpkgsrc-4b4f435ed1234f2a4c9b3fb8e3147eb0cca300ad.tar.gz
boost-headers: remove type check for long double to fix py-scipy build; bump revision
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/distinfo3
-rw-r--r--meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp20
2 files changed, 22 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index 2066723aafb..4c692c5a240 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.138 2021/10/26 10:57:38 nia Exp $
+$NetBSD: distinfo,v 1.139 2021/11/30 16:57:25 adam Exp $
BLAKE2s (boost_1_77_0.tar.bz2) = 11f9651d7078e67a69a97f46dce3131af1f1b3ba5976c26435cd17a66161cbf1
SHA512 (boost_1_77_0.tar.bz2) = 39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
@@ -16,6 +16,7 @@ SHA1 (patch-boost_core_uncaught__exceptions.hpp) = eba82062750f4e09bcef467476e8c
SHA1 (patch-boost_math_special__functions_expm1.hpp) = 724fbd40b3780da8af6ce10bbf50a354eb19031a
SHA1 (patch-boost_math_special__functions_log1p.hpp) = df6fd088da736a4640663b64841383432f1a1201
SHA1 (patch-boost_math_tools_config.hpp) = a4fa3cab1c5fa4a12b95bbbc99bc65d6406b4f50
+SHA1 (patch-boost_math_tools_promotion.hpp) = 02fe1946f7c34a3b49ddd02d3e7a81b74f1bd8f4
SHA1 (patch-boost_numeric_ublas_storage.hpp) = 282b5a3b5d09216ded14fae166169d64db72590e
SHA1 (patch-boost_process_detail_posix_handles.hpp) = 4084feb75142107244db86ca7d44da8037c5c745
SHA1 (patch-boost_process_detail_posix_is__running.hpp) = cc9084735774bd33c5ff6ff936a039fa30f989dd
diff --git a/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp b/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp
new file mode 100644
index 00000000000..ce897c68f34
--- /dev/null
+++ b/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp
@@ -0,0 +1,20 @@
+$NetBSD: patch-boost_math_tools_promotion.hpp,v 1.1 2021/11/30 16:57:25 adam Exp $
+
+Remove the guard; long double should be allowed as a type, even when
+long double math functions are not present. Allows py-scipy to build.
+
+--- boost/math/tools/promotion.hpp.orig 2021-11-30 14:39:04.000000000 +0000
++++ boost/math/tools/promotion.hpp
+@@ -127,12 +127,6 @@ namespace boost
+ >::type
+ >::type;
+
+-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+- //
+- // Guard against use of long double if it's not supported:
+- //
+- static_assert((0 == std::is_same<type, long double>::value), "Sorry, but this platform does not have sufficient long double support for the special functions to be reliably implemented.");
+-#endif
+ };
+
+ //