pcmsolver: fix glibc >= 2.34 compatibility
related to https://github.com/PCMSolver/pcmsolver/issues/197. This is a temporary workaround until we have a proper fix from upstream
This commit is contained in:
parent
f35d4e3c73
commit
a82378a76a
@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
|
||||
sha256= "0jrxr8z21hjy7ik999hna9rdqy221kbkl3qkb06xw7g80rc9x9yr";
|
||||
};
|
||||
|
||||
# Glibc 2.34 changed SIGSTKSZ to a dynamic value, which breaks
|
||||
# PCMsolver. Replace SIGSTKZ by the backward-compatible _SC_SIGSTKSZ.
|
||||
postPatch = ''
|
||||
substituteInPlace external/Catch/catch.hpp \
|
||||
--replace SIGSTKSZ _SC_SIGSTKSZ
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gfortran
|
||||
|
Loading…
Reference in New Issue
Block a user