boost: Package Version Update (1.72.0)

This commit updates Boost to version 1.72.0
    There are no new libraries in this release.

    Note:
    - This commit also adds a post-release patch to fix an issue
    with Boost.Coroutine

    More info about Boost 1.72.0 can be found at the usual place [1].

    [1]: https://www.boost.org/users/history/version_1_72_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
This commit is contained in:
Carlos Miguel Ferreira
2019-12-21 22:19:56 +00:00
parent 101791a236
commit c8907926cc
6 changed files with 102 additions and 77 deletions
+17
View File
@@ -0,0 +1,17 @@
Index: boost_1_72_0/boost/math/tools/roots.hpp
===================================================================
--- boost_1_72_0.orig/boost/math/tools/roots.hpp
+++ boost_1_72_0/boost/math/tools/roots.hpp
@@ -884,7 +884,11 @@ inline T discriminant(T const& a, T cons
template<class T>
std::pair<T, T> quadratic_roots_imp(T const& a, T const& b, T const& c)
{
- using std::copysign;
+ #if defined(BOOST_GNU_STDLIB) && !defined(_GLIBCXX_USE_C99_MATH_TR1)
+ using boost::math::copysign;
+ #else
+ using std::copysign;
+ #endif
using std::sqrt;
if constexpr (std::is_floating_point<T>::value)
{