From 541eca7cf7b9950f0adaaf9158f94c76ba0aedc9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Oct 2022 19:30:29 +0100 Subject: gentoo auto-resync : 08:10:2022 - 19:30:29 --- sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild') diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild index 5bac36b61b87..8cd9318c3373 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild @@ -174,6 +174,13 @@ multilib_src_configure() { --mandir="$(get_xcmandir)" ) + if use elibc_musl; then + # musl declares getcontext and swapcontext in ucontext.h, + # but does not implement them in libc. + # https://bugs.gentoo.org/838172 + myconf+=( ac_cv_header_ucontext_h=no ) + fi + case "${MULTIBUILD_ID}" in xcrypt_compat-*) myconf+=( -- cgit v1.2.3