summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-10-08 11:29:25 -0400
committerMike Gilbert <floppym@gentoo.org>2022-10-08 11:29:25 -0400
commit6da5a9571d82af96730a4ecb966b58b4c18c13a7 (patch)
treee10ae8c2d83936cf6e6c4439b9d5366ccdbcfcbb /sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild
parentsys-libs/libxcrypt: drop 4.4.20 (diff)
downloadgentoo-6da5a9571d82af96730a4ecb966b58b4c18c13a7.tar.gz
gentoo-6da5a9571d82af96730a4ecb966b58b4c18c13a7.tar.bz2
gentoo-6da5a9571d82af96730a4ecb966b58b4c18c13a7.zip
sys-libs/libxcrypt: add musl workaround
Closes: https://bugs.gentoo.org/838172 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild')
-rw-r--r--sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild7
1 files changed, 7 insertions, 0 deletions
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+=(