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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0FB51382C5 for ; Sun, 30 May 2021 10:13:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26398E078A; Sun, 30 May 2021 10:13:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07A45E078A for ; Sun, 30 May 2021 10:13:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1527340F0E for ; Sun, 30 May 2021 10:13:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 277EE793 for ; Sun, 30 May 2021 10:13:21 +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: <1622369556.31e3918f3db9351651fd8d4b787097c08a0ccafc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffmpeg/ffmpeg-4.4.ebuild X-VCS-Directories: media-video/ffmpeg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 31e3918f3db9351651fd8d4b787097c08a0ccafc X-VCS-Branch: master Date: Sun, 30 May 2021 10:13:21 +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: 0cdd9e51-7c21-4409-a9d2-99be2dc5caf3 X-Archives-Hash: 015dfae1910b39b134c569c963c74357 commit: 31e3918f3db9351651fd8d4b787097c08a0ccafc Author: Sam James gentoo org> AuthorDate: Sun May 30 10:12:28 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 30 10:12:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e3918f media-video/ffmpeg: fix libatomic on arm/ppc Closes: https://bugs.gentoo.org/790590 Closes: https://bugs.gentoo.org/782811 Signed-off-by: Sam James gentoo.org> media-video/ffmpeg/ffmpeg-4.4.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/media-video/ffmpeg/ffmpeg-4.4.ebuild b/media-video/ffmpeg/ffmpeg-4.4.ebuild index 111ef05ca3d..aa2fd13df6e 100644 --- a/media-video/ffmpeg/ffmpeg-4.4.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.4.ebuild @@ -451,6 +451,13 @@ multilib_src_configure() { $(multilib_native_enable manpages) ) + local extra_libs + if use arm || use ppc ; then + # bug #782811 + # bug #790590 + extra_libs+="-latomic " + fi + set -- "${S}/configure" \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ @@ -465,6 +472,7 @@ multilib_src_configure() { --ranlib="$(tc-getRANLIB)" \ --pkg-config="$(tc-getPKG_CONFIG)" \ --optflags="${CFLAGS}" \ + --extra-libs="${extra_libs}" \ $(use_enable static-libs static) \ "${myconf[@]}" \ ${EXTRA_FFMPEG_CONF}