void-packages/srcpkgs/valgrind/patches/tc20_verifywrap_musl.patch

12 lines
382 B
Diff

--- a/helgrind/tests/tc20_verifywrap.c 2021-11-16 21:01:30.020008847 +0000
+++ b/helgrind/tests/tc20_verifywrap.c 2021-11-16 21:02:22.140008872 +0000
@@ -20,7 +20,7 @@
#if !defined(__APPLE__) && !defined(__FreeBSD__)
-#if defined(__sun__)
+#if defined(__sun__) || !defined(__GLIBC__)
/* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
# define __GLIBC_PREREQ
#else