summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/boost
diff options
context:
space:
mode:
authorBernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-10-12 10:59:36 +0200
committerGitHub <noreply@github.com>2021-10-12 10:59:36 +0200
commitcb06f91df735906c428726e3f1140c87fe404f43 (patch)
tree0509a3db75feeb5ac94eeec233d13c5910dd395c /var/spack/repos/builtin/packages/boost
parent0c0831861c57b747d915731ef3ad214346a9dcbe (diff)
downloadspack-cb06f91df735906c428726e3f1140c87fe404f43.tar.gz
spack-cb06f91df735906c428726e3f1140c87fe404f43.tar.bz2
spack-cb06f91df735906c428726e3f1140c87fe404f43.tar.xz
spack-cb06f91df735906c428726e3f1140c87fe404f43.zip
boost: Fix build of 1.53:1.54 with glibc>=2.17 (#26659)
Fix missing declaration of uintptr_t with glibc>=2.17 in 1.53:1.54 See: https://bugs.gentoo.org/482372
Diffstat (limited to 'var/spack/repos/builtin/packages/boost')
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index adc75c848c..360d72c585 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -240,6 +240,10 @@ class Boost(Package):
patch('darwin_clang_version.patch', level=0,
when='@1.56.0:1.72.0 platform=darwin')
+ # Fix missing declaration of uintptr_t with glibc>=2.17 - https://bugs.gentoo.org/482372
+ patch('https://482372.bugs.gentoo.org/attachment.cgi?id=356970', when='@1.53.0:1.54',
+ sha256='b6f6ce68282159d46c716a1e6c819c815914bdb096cddc516fa48134209659f2')
+
# Fix: "Unable to compile code using boost/process.hpp"
# See: https://github.com/boostorg/process/issues/116
# Patch: https://github.com/boostorg/process/commit/6a4d2ff72114ef47c7afaf92e1042aca3dfa41b0.patch