diff --git a/package/boost/0002-math-provide-graceful-failure-for-bernoulli-code-on-platforms-with-no-atomics.patch b/package/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch similarity index 91% rename from package/boost/0002-math-provide-graceful-failure-for-bernoulli-code-on-platforms-with-no-atomics.patch rename to package/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch index 121355d71e..063491de06 100644 --- a/package/boost/0002-math-provide-graceful-failure-for-bernoulli-code-on-platforms-with-no-atomics.patch +++ b/package/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch @@ -4,6 +4,11 @@ Date: Wed, 1 Sep 2021 18:54:54 +0100 Subject: [PATCH] Allow definition of BOOST_MATH_NO_ATOMIC_INT on the command line. Allows us to test/emulate platforms with no atomic integers. +[buildroot@heine.tech: + - backport from boostorg/math 32bd6197353f6ea8e5bef01f09e25c944141acfc + - alter path to match boost release +] +Signed-off-by: Michael Nosthoff --- boost/math/tools/atomic.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch b/package/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch index 77f1217a3a..7e324e310c 100644 --- a/package/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch +++ b/package/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch @@ -6,6 +6,11 @@ Subject: [PATCH] Make no atomics a soft failure in bernoulli_details.hpp. bernoulli features are to be used in a no-atomics environment. Fixes https://github.com/boostorg/math/issues/673. +[buildroot@heine.tech: + - backport from boostorg/math 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b + - alter path to match boost release +] +Signed-off-by: Michael Nosthoff --- .../detail/bernoulli_details.hpp | 10 +++++++--- libs/math/test/Jamfile.v2 | 3 +++