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 63DC0158021 for ; Wed, 21 Dec 2022 04:56:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87428E07D1; Wed, 21 Dec 2022 04:56:32 +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 6D188E07D1 for ; Wed, 21 Dec 2022 04:56:32 +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 4133C3407AF for ; Wed, 21 Dec 2022 04:56:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FC167CC for ; Wed, 21 Dec 2022 04:56:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1671598578.ff384958e020642fbacee5ee234b7894d5c09057.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/rubberband/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/rubberband/rubberband-3.1.1-r1.ebuild media-libs/rubberband/rubberband-3.1.1.ebuild X-VCS-Directories: media-libs/rubberband/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff384958e020642fbacee5ee234b7894d5c09057 X-VCS-Branch: master Date: Wed, 21 Dec 2022 04:56:29 +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: 1c7fcba5-ee52-4d0f-ae88-aeeffab213cd X-Archives-Hash: 2ed3b0853996043ae990a7b3b27bdd39 commit: ff384958e020642fbacee5ee234b7894d5c09057 Author: Mazunki Hoksaas gmail com> AuthorDate: Wed Dec 21 04:09:39 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 21 04:56:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff384958 media-libs/rubberband: add -latomic for clang Closes: https://bugs.gentoo.org/860078 Signed-off-by: Mazunki Hoksaas gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28726 Signed-off-by: Sam James gentoo.org> .../{rubberband-3.1.1.ebuild => rubberband-3.1.1-r1.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/media-libs/rubberband/rubberband-3.1.1.ebuild b/media-libs/rubberband/rubberband-3.1.1-r1.ebuild similarity index 85% rename from media-libs/rubberband/rubberband-3.1.1.ebuild rename to media-libs/rubberband/rubberband-3.1.1-r1.ebuild index 77bbfa735bbe..3488f7ac50cd 100644 --- a/media-libs/rubberband/rubberband-3.1.1.ebuild +++ b/media-libs/rubberband/rubberband-3.1.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson-multilib flag-o-matic +inherit meson-multilib flag-o-matic toolchain-funcs DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program" HOMEPAGE="https://www.breakfastquay.com/rubberband/" @@ -25,7 +25,10 @@ CDEPEND=" programs? ( media-libs/libsndfile ) vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] ) " -RDEPEND="${CDEPEND}" +RDEPEND=" + ${CDEPEND} + sys-devel/gcc:* +" DEPEND="${CDEPEND}" PATCHES=( @@ -38,6 +41,10 @@ multilib_src_configure() { # meson doesn't respect/use LIBS but mangles LDFLAGS with libs # correctly. Use this until we get a Meson test for libatomic. append-ldflags -latomic + elif tc-is-clang && [[ $(tc-get-cxx-stdlib) == libstdc++ ]] ; then + # bug #860078 + # undefined reference to `__atomic_is_lock_free' + append-ldflags -latomic fi local emesonargs=(