diff --git a/srcpkgs/sbcl/patches/musl-fixes.patch b/srcpkgs/sbcl/patches/musl-fixes.patch index da437f04b7e..2e309206f6e 100644 --- a/srcpkgs/sbcl/patches/musl-fixes.patch +++ b/srcpkgs/sbcl/patches/musl-fixes.patch @@ -106,3 +106,15 @@ (:integer HOST-NOT-FOUND "HOST_NOT_FOUND" "Authoritative Answer Host not found.") (:integer TRY-AGAIN "TRY_AGAIN" "Non-Authoritative Host not found, or SERVERFAIL.") (:integer NO-RECOVERY "NO_RECOVERY" "Non recoverable errors, FORMERR, REFUSED, NOTIMP.") +--- src/runtime/linux-os.c.orig ++++ src/runtime/linux-os.c +@@ -181,6 +181,9 @@ + int + isnptl (void) + { ++#ifndef __GLIBC__ ++ return 1; ++#endif + size_t n = confstr (_CS_GNU_LIBPTHREAD_VERSION, NULL, 0); + if (n > 0) { + char *buf = alloca (n);