From 41c90866e5db96642eba30615eb89f062ae3cf52 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 23 Jan 2022 01:49:58 +0100 Subject: [PATCH] firefox: nuke webrtc support on ppc64le --- srcpkgs/firefox/template | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 116b85cc01..72aff3a2fb 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -91,6 +91,19 @@ do_build() { echo "ac_add_options --disable-webrtc" >>.mozconfig fi + # it seems mozilla has started catching up with google's webrtc + # and this newly involves introducing several megabytes of generated + # json junk that we just cannot maintain in-tree, additionally they + # have indicated that they will be re-generating these frequently + # + # it is unacceptable to keep a 7MB patch downstream, so disable it + # + # https://phabricator.services.mozilla.com/D134738 + # + case "$XBPS_TARGET_MACHINE" in + ppc64le*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;; + esac + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then export LDFLAGS+=" -latomic" fi