pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc boost-headers: remove type check for long double to fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3c3174f8141
branches:  trunk
changeset: 770458:d3c3174f8141
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 30 16:57:25 2021 +0000

description:
boost-headers: remove type check for long double to fix py-scipy build; bump revision

diffstat:

 devel/boost-headers/Makefile                                 |   4 +-
 meta-pkgs/boost/distinfo                                     |   3 +-
 meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp |  20 ++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r f590639da1ee -r d3c3174f8141 devel/boost-headers/Makefile
--- a/devel/boost-headers/Makefile      Tue Nov 30 16:35:25 2021 +0000
+++ b/devel/boost-headers/Makefile      Tue Nov 30 16:57:25 2021 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2021/01/01 08:19:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.63 2021/11/30 16:57:25 adam Exp $
+
+PKGREVISION=   1
 
 BOOST_PACKAGE=         headers
 BOOST_COMMENT=         (build-time headers)
diff -r f590639da1ee -r d3c3174f8141 meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo  Tue Nov 30 16:35:25 2021 +0000
+++ b/meta-pkgs/boost/distinfo  Tue Nov 30 16:57:25 2021 +0000
@@ -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_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 -r f590639da1ee -r d3c3174f8141 meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp      Tue Nov 30 16:57:25 2021 +0000
@@ -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
+       };
+ 
+       //



Home | Main Index | Thread Index | Old Index