valgrind: fix build error for aarch64+Musl

Musl does not have __THROW macro from glibc

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
This commit is contained in:
Ivan Nikolaenko 2022-05-18 14:27:32 +03:00 committed by Alyssa Ross
parent 8abf3eaa38
commit aac2235e79

View File

@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-3V40SG8aSD/3vnMAzBa01rJGkJh4d8MnjXl1NNZzjwI=";
};
patches = [
# Fix checks on Musl.
# https://bugs.kde.org/show_bug.cgi?id=453929
(fetchpatch {
url = "https://bugsfiles.kde.org/attachment.cgi?id=148912";
sha256 = "Za+7K93pgnuEUQ+jDItEzWlN0izhbynX2crSOXBBY/I=";
})
];
outputs = [ "out" "dev" "man" "doc" ];
hardeningDisable = [ "pie" "stackprotector" ];