mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 12:34:35 +04:00
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>
18 lines
627 B
Diff
18 lines
627 B
Diff
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)
|
|
{
|