From 313165d1858de900d01eacb8ff5695ea7a96381a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 25 Dec 2016 18:06:14 +0100 Subject: [PATCH] sbcl: forgot hunk --- srcpkgs/sbcl/patches/musl-fixes.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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);