From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1423784-garchives=archives.gentoo.org@lists.gentoo.org>
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 5F3B6158094
	for <garchives@archives.gentoo.org>; Sun, 31 Jul 2022 03:54:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A1588E0BC5;
	Sun, 31 Jul 2022 03:54:51 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 89034E0BC5
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Jul 2022 03:54:51 +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 7EFBA340EAF
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Jul 2022 03:54:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B251154D
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Jul 2022 03:54:47 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1659239451.0d064fd26399378fa1ef9e843a6ea8dd325aef4c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild
X-VCS-Directories: dev-lang/spidermonkey/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 0d064fd26399378fa1ef9e843a6ea8dd325aef4c
X-VCS-Branch: master
Date: Sun, 31 Jul 2022 03:54:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6bc634ad-dcd1-4ed4-84a3-03ec1c7888cc
X-Archives-Hash: 43755894849dfa2a643e9758efd062ea

commit:     0d064fd26399378fa1ef9e843a6ea8dd325aef4c
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Jul 31 02:50:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 03:50:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d064fd2

dev-lang/spidermonkey: conditionally link libatomic

Closes: https://bugs.gentoo.org/688574
Closes: https://github.com/gentoo/gentoo/pull/26676
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild
index cc7d2687a38f..ef5e64bc7a31 100644
--- a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 WANT_AUTOCONF="2.1"
-inherit autotools check-reqs toolchain-funcs pax-utils mozcoreconf-v5
+inherit autotools check-reqs toolchain-funcs pax-utils mozcoreconf-v5 flag-o-matic
 
 MY_PN="mozjs"
 MY_P="${MY_PN}-${PV/_rc/.rc}"
@@ -54,6 +54,8 @@ src_prepare() {
 
 	eapply_user
 
+	append-atomic-flags # bug 688574
+
 	cd "${S}/js/src" || die
 	eautoconf old-configure.in
 	eautoconf