git: fe1203c57f0f - main - www/firefox: fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 10 Feb 2022 12:40:38 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fe1203c57f0fe82490a6274d3609b56ec62b3853

commit fe1203c57f0fe82490a6274d3609b56ec62b3853
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-10 12:34:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-10 12:34:02 +0000

    www/firefox: fix build on powerpc64
    
    In file included from Unified_cpp_common_audio_gn0.cpp:101:
    /wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/common_audio/wav_file.cc:93:2: error: "Need to convert samples to big-endian when reading from WAV file"
     ^
    /wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/common_audio/wav_file.cc:133:2: error: "Need to convert samples to big-endian when reading from WAV file"
     ^
    /wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/common_audio/wav_file.cc:217:2: error: "Need to convert samples to little-endian when writing to WAV file"
     ^
    /wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/common_audio/wav_file.cc:247:2: error: "Need to convert samples to little-endian when writing to WAV file"
     ^
    In file included from Unified_cpp_common_audio_gn0.cpp:110:
    /wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/common_audio/wav_header.cc:30:2: error: "Code not working properly for big endian platforms."
     ^
---
 www/firefox/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 9f70d4ac097c..3e658284dc52 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -48,7 +48,7 @@ MOZ_OPTIONS=	--enable-application=browser \
 .include <bsd.port.options.mk>
 
 .if ${ARCH} == powerpc64
-MOZ_OPTIONS+=	--without-wasm-sandboxed-libraries
+MOZ_OPTIONS+=	--disable-webrtc --without-wasm-sandboxed-libraries
 .else
 BUILD_DEPENDS+=	${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx \
 		${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \