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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DDB415800F for ; Mon, 23 Jan 2023 07:07:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F090E07E1; Mon, 23 Jan 2023 07:07:21 +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 4EB01E07E1 for ; Mon, 23 Jan 2023 07:07:21 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D44CC340EDF for ; Mon, 23 Jan 2023 07:07:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29589807 for ; Mon, 23 Jan 2023 07:07:18 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1674457450.f0a36facc56573707efebc07c743e0ed7e8ddd44.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, www-client/firefox/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch www-client/firefox/firefox-109.0.ebuild X-VCS-Directories: www-client/firefox/files/ www-client/firefox/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: f0a36facc56573707efebc07c743e0ed7e8ddd44 X-VCS-Branch: master Date: Mon, 23 Jan 2023 07:07:18 +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: c79a8316-063c-472c-8b62-cba7aec0c065 X-Archives-Hash: b160c02c8a5862ef4d09f3d468957514 commit: f0a36facc56573707efebc07c743e0ed7e8ddd44 Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Jan 23 07:03:26 2023 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Jan 23 07:04:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a36fac www-client/firefox: fix 109 webrtc build on ppc64le Bug: https://bugs.gentoo.org/891389 Signed-off-by: Georgy Yakovlev gentoo.org> ...bmo-1775202-ppc64-webrtc-missing-conditions-109.patch | 16 ++++++++++++++++ www-client/firefox/firefox-109.0.ebuild | 7 +++++++ 2 files changed, 23 insertions(+) diff --git a/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch b/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch new file mode 100644 index 000000000000..1203476cf3b4 --- /dev/null +++ b/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch @@ -0,0 +1,16 @@ +diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build +index 8579f8bb3622..d9ca79d4fcb8 100644 +--- a/third_party/libwebrtc/moz.build ++++ b/third_party/libwebrtc/moz.build +@@ -520,7 +520,9 @@ if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux": + "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn", + "/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn", + "/third_party/libwebrtc/modules/audio_coding/isac_c_gn", +- "/third_party/libwebrtc/modules/audio_coding/isac_gn" ++ "/third_party/libwebrtc/modules/audio_coding/isac_gn", ++ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", ++ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" + ] + + if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": + diff --git a/www-client/firefox/firefox-109.0.ebuild b/www-client/firefox/firefox-109.0.ebuild index 62bacfdb5569..55a7abd6da29 100644 --- a/www-client/firefox/firefox-109.0.ebuild +++ b/www-client/firefox/firefox-109.0.ebuild @@ -612,6 +612,13 @@ src_unpack() { src_prepare() { use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch ! use ppc64 && rm -v "${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch + + # workaround for https://bugs.gentoo.org/891389 until new patch gets into tarball + if use ppc64; then + rm -v "${WORKDIR}"/firefox-patches/0030-bmo-1775202-ppc64-webrtc-missing-conditions.patch + eapply "${FILESDIR}"/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch + fi + eapply "${WORKDIR}/firefox-patches" # Allow user to apply any additional patches without modifing ebuild