diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-12-31 21:00:15 -0800 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-12-31 21:00:21 -0800 |
commit | b906464824bde6fc5e13db1f18066c4de68d25b1 (patch) | |
tree | c5512c0807ab8f95f57c56d66c60958a3e2973d2 /pkgs/development/libraries/boost | |
parent | 796af3ddba8c3b045b79332a39eae92f24efc277 (diff) |
boost177: fix on platforms without atomics
backport patch from boost178 to fix compilation when atomics are not available, e.g. for armv5tel
Diffstat (limited to 'pkgs/development/libraries/boost')
-rw-r--r-- | pkgs/development/libraries/boost/generic.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index 6358df1a555cd..08a71e85adb75 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -127,7 +127,14 @@ stdenv.mkDerivation { extraPrefix = "libs/context/"; }) ++ optional (and (versionAtLeast version "1.70") (!versionAtLeast version "1.73")) ./cmake-paths.patch - ++ optional (versionAtLeast version "1.73") ./cmake-paths-173.patch; + ++ optional (versionAtLeast version "1.73") ./cmake-paths-173.patch + ++ optional (version == "1.77.0") (fetchpatch { + url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; + sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4="; + stripLen = 2; + extraPrefix = ""; + includes = [ "boost/math/special_functions/detail/bernoulli_details.hpp" ]; + }); meta = { homepage = "http://boost.org/"; |