From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44F2F158094 for ; Sat, 8 Oct 2022 15:31:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D21FE08DD; Sat, 8 Oct 2022 15:31:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43642E08DD for ; Sat, 8 Oct 2022 15:31:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 410CA340EE6 for ; Sat, 8 Oct 2022 15:31:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F13F5EC for ; Sat, 8 Oct 2022 15:31:38 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1665242965.6da5a9571d82af96730a4ecb966b58b4c18c13a7.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libxcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild X-VCS-Directories: sys-libs/libxcrypt/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 6da5a9571d82af96730a4ecb966b58b4c18c13a7 X-VCS-Branch: master Date: Sat, 8 Oct 2022 15:31:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0464bc2-88d0-4a4b-8e05-2f83296e53e3 X-Archives-Hash: 01c5ac09c35f0b38658ecd5d4a6ddfa4 commit: 6da5a9571d82af96730a4ecb966b58b4c18c13a7 Author: Mike Gilbert gentoo org> AuthorDate: Sat Oct 8 15:29:25 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Oct 8 15:29:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da5a957 sys-libs/libxcrypt: add musl workaround Closes: https://bugs.gentoo.org/838172 Signed-off-by: Mike Gilbert gentoo.org> sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild | 7 +++++++ sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild index b43b4ada2480..c55c58c004b0 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.28-r1.ebuild @@ -172,6 +172,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+=( 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+=(