pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 30 16:57:25 UTC 2021

Modified Files:
        pkgsrc/devel/boost-headers: Makefile
        pkgsrc/meta-pkgs/boost: distinfo
Added Files:
        pkgsrc/meta-pkgs/boost/patches: patch-boost_math_tools_promotion.hpp

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


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/devel/boost-headers/Makefile
cvs rdiff -u -r1.138 -r1.139 pkgsrc/meta-pkgs/boost/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/boost-headers/Makefile
diff -u pkgsrc/devel/boost-headers/Makefile:1.62 pkgsrc/devel/boost-headers/Makefile:1.63
--- pkgsrc/devel/boost-headers/Makefile:1.62    Fri Jan  1 08:19:01 2021
+++ pkgsrc/devel/boost-headers/Makefile Tue Nov 30 16:57:25 2021
@@ -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)

Index: pkgsrc/meta-pkgs/boost/distinfo
diff -u pkgsrc/meta-pkgs/boost/distinfo:1.138 pkgsrc/meta-pkgs/boost/distinfo:1.139
--- pkgsrc/meta-pkgs/boost/distinfo:1.138       Tue Oct 26 10:57:38 2021
+++ pkgsrc/meta-pkgs/boost/distinfo     Tue Nov 30 16:57:25 2021
@@ -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__excepti
 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

Added files:

Index: pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp
diff -u /dev/null pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp:1.1
--- /dev/null   Tue Nov 30 16:57:25 2021
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_math_tools_promotion.hpp Tue Nov 30 16:57:25 2021
@@ -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