Re: git: 4185660c39ad - main - mail/thunderbird: update to 102.2.2

From: Barbara <barbara.freebsd_at_gmail.com>
Date: Sun, 11 Sep 2022 20:39:56 UTC
Hi,
just to report the fact that the build it's failing for me on 
12.3-STABLE amd64 with the following error:

gmake[5]: Entering directory 
'/usr/ports/mail/thunderbird/work/.build/tools/profiler'
tools/profiler/Unified_cpp_tools_profiler0.o
/usr/local/bin/clang++13 -std=gnu++17 -o Unified_cpp_tools_profiler0.o 
-c -I/usr/ports/mail/thunderbird/work/.build/dist/stl_wrappers 
-I/usr/ports/mail/thunderbird/work/.build/dist/system_wrappers -include 
/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/config/gcc_hidden.h 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
-fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 
-DMOZ_REPLACE_MALLOC_PREFIX=profiler -DOS_POSIX=1 -DOS_FREEBSD=1 
-DOS_BSD=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL 
-DSTATIC_EXPORTABLE_JS_API 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/tools/profiler 
-I/usr/ports/mail/thunderbird/work/.build/tools/profiler 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/caps 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/docshell/base 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/ipc/chromium/src 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/mozglue/linker 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/netwerk/base 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/netwerk/protocol/http 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/toolkit/crashreporter/google-breakpad/src 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/tools/profiler/core 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/tools/profiler/gecko 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/xpcom/base 
-I/usr/ports/mail/thunderbird/work/.build/ipc/ipdl/_ipdlheaders 
-I/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/ipc/chromium/src 
-I/usr/ports/mail/thunderbird/work/.build/dist/include 
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include/nss 
-I/usr/local/include/nspr 
-I/usr/ports/mail/thunderbird/work/.build/dist/include/nss 
-I/usr/local/include -I/usr/local/include/libpng16 
-I/usr/local/include/pixman-1 -I/usr/local/include -DMOZILLA_CLIENT 
-include /usr/ports/mail/thunderbird/work/.build/mozilla-config.h 
-Qunused-arguments -DLIBICONV_PLUG -isystem /usr/local/include 
-Qunused-arguments -Wall -Wbitfield-enum-conversion 
-Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion 
-Wignored-qualifiers -Wpointer-arith 
-Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits 
-Wno-error=tautological-type-limit-compare -Wunreachable-code 
-Wunreachable-code-return -Wunused-but-set-parameter 
-Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt 
-Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis 
-Wno-range-loop-analysis -Wc++2a-compat -Wcomma 
-Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion 
-Wno-inline-new-delete -Wno-error=deprecated-declarations 
-Wno-error=array-bounds -Wno-error=backend-plugin 
-Wno-error=free-nonheap-object -Wno-error=return-std-move 
-Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat 
-Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi 
-Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation 
-fno-aligned-new -O2 -pipe -fno-strict-aliasing -march=skylake -O3 
-DLIBICONV_PLUG -isystem /usr/local/include -DLIBICONV_PLUG -isystem 
/usr/local/include -fno-exceptions -fPIC -fno-rtti -ffunction-sections 
-fdata-sections -fno-exceptions -fno-math-errno -pipe -O2 -O3 
-fomit-frame-pointer -funwind-tables -Wno-error=stack-protector 
-Wno-ignored-qualifiers -fno-strict-aliasing -ffp-contract=off  -MD -MP 
-MF .deps/Unified_cpp_tools_profiler0.o.pp Unified_cpp_tools_profiler0.cpp
In file included from Unified_cpp_tools_profiler0.cpp:119:
/usr/ports/mail/thunderbird/work/thunderbird-102.2.2/tools/profiler/core/platform.cpp:6524:11: 
error: use of undeclared identifier 'sched_getcpu'
   cpuId = sched_getcpu();
           ^
1 error generated.


I've checked on /usr/include/sched.hand in 12 there is no sched_getcpu.
I've also tried setting PROFILE to off with the same result.


Best Regards
Barbara



On 9/11/22 15:14, Christoph Moench-Tegeder wrote:
> The branch main has been updated by cmt:
>
> URL:https://cgit.FreeBSD.org/ports/commit/?id=4185660c39ad992441cae35833fc69c1295a4bf8
>
> commit 4185660c39ad992441cae35833fc69c1295a4bf8
> Author:     Christoph Moench-Tegeder<cmt@FreeBSD.org>
> AuthorDate: 2022-09-11 13:12:49 +0000
> Commit:     Christoph Moench-Tegeder<cmt@FreeBSD.org>
> CommitDate: 2022-09-11 13:12:49 +0000
>
>      mail/thunderbird: update to 102.2.2
>      
>      Release Notes:
>        https://www.thunderbird.net/en-US/thunderbird/102.2.2/releasenotes/
> ---
>   mail/thunderbird/Makefile                          |    25 +-
>   mail/thunderbird/distinfo                          |     6 +-
>   mail/thunderbird/files/patch-addon-search          |    27 +-
>   mail/thunderbird/files/patch-bug1288587            |    37 -
>   mail/thunderbird/files/patch-bug1559213            |    46 +-
>   mail/thunderbird/files/patch-bug1602730_comment5   |    24 -
>   mail/thunderbird/files/patch-bug1612184            | 25961 -------
>   mail/thunderbird/files/patch-bug1659612            |    10 +-
>   mail/thunderbird/files/patch-bug1676134            |   122 -
>   mail/thunderbird/files/patch-bug1734058            |    45 -
>   mail/thunderbird/files/patch-bug292127             |   232 -
>   mail/thunderbird/files/patch-bug847568             |    99 +-
>   .../files/patch-comm_mail_modules_DNS.jsm          |    25 -
>   mail/thunderbird/files/patch-libwebrtc-generated   | 70292 +++++++++++++++++++
>   mail/thunderbird/files/patch-pipewire_init         |    41 +-
>   mail/thunderbird/files/patch-rust-1.63             |   585 +-
>   ...rd__party_libwebrtc_build_config_BUILDCONFIG.gn |    42 +
>   ..._party_libwebrtc_third__party_pffft_src_pffft.c |    10 +
>   18 files changed, 70656 insertions(+), 26973 deletions(-)
>
> diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
> index c8327c49951e..bcaef63e243d 100644
> --- a/mail/thunderbird/Makefile
> +++ b/mail/thunderbird/Makefile
> @@ -1,6 +1,5 @@
>   PORTNAME=	thunderbird
> -DISTVERSION=	91.13.0
> -PORTREVISION=	1
> +DISTVERSION=	102.2.2
>   CATEGORIES=	mail news net-im wayland
>   MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
>   		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
> @@ -11,14 +10,14 @@ COMMENT=	Mozilla Thunderbird is standalone mail and news that stands above
>   WWW=		https://www.mozilla.com/thunderbird/
>   
>   BUILD_DEPENDS=	nspr>=4.32:devel/nspr \
> -		nss>=3.68:security/nss \
> -		icu>=67.1,1:devel/icu \
> +		nss>=3.79:security/nss \
> +		icu>=71.1,1:devel/icu \
>   		libevent>=2.1.8:devel/libevent \
> -		harfbuzz>=2.8.1:print/harfbuzz \
> +		harfbuzz>=4.1.0:print/harfbuzz \
>   		graphite2>=1.3.14:graphics/graphite2 \
>   		png>=1.6.37:graphics/png \
>   		dav1d>=1.0.0:multimedia/dav1d \
> -		libvpx>=1.8.2:multimedia/libvpx \
> +		libvpx>=1.11.0:multimedia/libvpx \
>   		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
>   		v4l_compat>0:multimedia/v4l_compat \
>   		autoconf2.13:devel/autoconf2.13 \
> @@ -48,7 +47,17 @@ SYSTEM_PREFS=	${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js
>   OPTIONS_DEFAULT=CANBERRA
>   
>   .include "${.CURDIR}/../../www/firefox/Makefile.options"
> -.include <bsd.port.pre.mk>
> +
> +.include <bsd.port.options.mk>
> +
> +.if ${ARCH} == powerpc64
> +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 \
> +		${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/clang/${LLVM_VERSION}/lib/wasi/libclang_rt.builtins-wasm32.a:devel/wasi-compiler-rt${LLVM_DEFAULT}
> +MOZ_OPTIONS+=	--with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot
> +.endif
>   
>   post-extract:
>   	@${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON:R}|;s|@MOZILLA@|${MOZILLA}|' \
> @@ -70,4 +79,4 @@ post-install:
>   	${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
>   	${LN} -sf ${PORTNAME_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME_ICON}
>   
> -.include <bsd.port.post.mk>
> +.include <bsd.port.mk>
> diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo
> index b3677b57f75d..4fa9c7594e65 100644
> --- a/mail/thunderbird/distinfo
> +++ b/mail/thunderbird/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1660910189
> -SHA256 (thunderbird-91.13.0.source.tar.xz) = c792cf97ff7693940a8fe1cebbaa26fbc83584250a9c9d072c7feef77896b31e
> -SIZE (thunderbird-91.13.0.source.tar.xz) = 403859320
> +TIMESTAMP = 1662843659
> +SHA256 (thunderbird-102.2.2.source.tar.xz) = 5d5f327ea450572ef2a135e5c849b3f38f7d54e897f41a1dec5223e184558f2b
> +SIZE (thunderbird-102.2.2.source.tar.xz) = 504122840
> diff --git a/mail/thunderbird/files/patch-addon-search b/mail/thunderbird/files/patch-addon-search
> index 38f261273f4b..26e9043e4d1a 100644
> --- a/mail/thunderbird/files/patch-addon-search
> +++ b/mail/thunderbird/files/patch-addon-search
> @@ -1,23 +1,24 @@
>   https://github.com/mozilla/addons/issues/708
>   https://github.com/mozilla/addons-frontend/issues/4610
>   
> ---- comm/mail/app/profile/all-thunderbird.js.orig	2021-08-11 18:47:33.538900000 +0200
> -+++ comm/mail/app/profile/all-thunderbird.js	2021-08-11 18:51:30.055570000 +0200
> -@@ -159,10 +159,10 @@
> - pref("extensions.getAddons.get.url","https://services.addons.thunderbird.net/api/v3/addons/search/?guid=%IDS%&lang=%LOCALE%");
> +--- comm/mail/app/profile/all-thunderbird.js.orig	2022-09-10 23:48:23.616215000 +0200
> ++++ comm/mail/app/profile/all-thunderbird.js	2022-09-11 00:01:06.140736000 +0200
> +@@ -167,10 +167,10 @@
>    pref("extensions.getAddons.compatOverides.url","https://services.addons.thunderbird.net/api/v3/addons/compat-override/?guid=%IDS%&lang=%LOCALE%");
>    pref("extensions.getAddons.link.url","https://addons.thunderbird.net/%LOCALE%/%APP%/");
> + pref("browser.dictionaries.download.url","https://addons.thunderbird.net/%LOCALE%/%APP%/language-tools/");
>   -pref("extensions.getAddons.recommended.url","https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=thunderbird");
> -+pref("extensions.getAddons.recommended.url","https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/Linux/%VERSION%?src=thunderbird");
> - pref("extensions.getAddons.search.browseURL","https://addons.thunderbird.net/%LOCALE%/%APP%/search/?q=%TERMS%");
> +-pref("extensions.getAddons.search.browseURL","https://addons.thunderbird.net/%LOCALE%/%APP%/search/?q=%TERMS%&appver=%VERSION%&platform=%OS%");
>   -pref("extensions.getAddons.search.url","https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird");
>   -pref("extensions.webservice.discoverURL","https://services.addons.thunderbird.net/%LOCALE%/%APP%/discovery/pane/%VERSION%/%OS%");
> ++pref("extensions.getAddons.recommended.url","https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/Linux/%VERSION%?src=thunderbird");
> ++pref("extensions.getAddons.search.browseURL","https://addons.thunderbird.net/%LOCALE%/%APP%/search/?q=%TERMS%&appver=%VERSION%&platform=Linux");
>   +pref("extensions.getAddons.search.url","https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/Linux/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird");
>   +pref("extensions.webservice.discoverURL","https://services.addons.thunderbird.net/%LOCALE%/%APP%/discovery/pane/%VERSION%/Linux");
>    pref("extensions.getAddons.langpacks.url","https://services.addons.thunderbird.net/api/v3/addons/language-tools/?app=thunderbird&type=language&appversion=%VERSION%");
>    pref("extensions.getAddons.discovery.api_url","https://services.addons.thunderbird.net/api/v4/discovery/?lang=%LOCALE%&edition=%DISTRIBUTION%");
>    
> -@@ -191,9 +191,9 @@
> +@@ -202,9 +202,9 @@
>    //  .. etc ..
>    //
>    pref("extensions.update.enabled", true);
> @@ -29,9 +30,9 @@https://github.com/mozilla/addons-frontend/issues/4610
>    
>    pref("extensions.update.interval", 86400);  // Check for updates to Extensions and
>                                                // Themes every day
> ---- toolkit/mozapps/extensions/internal/AddonRepository.jsm.orig	2021-08-11 18:52:27.424729000 +0200
> -+++ toolkit/mozapps/extensions/internal/AddonRepository.jsm	2021-08-11 18:54:16.222790000 +0200
> -@@ -584,7 +584,7 @@
> +--- toolkit/mozapps/extensions/internal/AddonRepository.jsm.orig	2022-09-11 00:01:40.212952000 +0200
> ++++ toolkit/mozapps/extensions/internal/AddonRepository.jsm	2022-09-11 00:07:14.587890000 +0200
> +@@ -592,7 +592,7 @@
>          addon.version = String(aEntry.current_version.version);
>          if (Array.isArray(aEntry.current_version.files)) {
>            for (let file of aEntry.current_version.files) {
> @@ -40,9 +41,9 @@https://github.com/mozilla/addons-frontend/issues/4610
>                if (file.url) {
>                  addon.sourceURI = NetUtil.newURI(file.url);
>                }
> ---- toolkit/mozapps/extensions/internal/XPIDatabase.jsm.orig	2021-08-11 18:55:01.952372000 +0200
> -+++ toolkit/mozapps/extensions/internal/XPIDatabase.jsm	2021-08-11 18:55:57.455245000 +0200
> -@@ -483,7 +483,7 @@
> +--- toolkit/mozapps/extensions/internal/XPIDatabase.jsm.orig	2022-09-11 00:08:09.244518000 +0200
> ++++ toolkit/mozapps/extensions/internal/XPIDatabase.jsm	2022-09-11 00:09:56.387390000 +0200
> +@@ -569,7 +569,7 @@
>        // Something is causing errors in here
>        try {
>          for (let platform of this.targetPlatforms) {
> diff --git a/mail/thunderbird/files/patch-bug1288587 b/mail/thunderbird/files/patch-bug1288587
> deleted file mode 100644
> index 0925ac98733c..000000000000
> --- a/mail/thunderbird/files/patch-bug1288587
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
> -index 855214a..1e91d51 100644
> ---- build/moz.configure/init.configure
> -+++ build/moz.configure/init.configure
> -@@ -238,6 +238,7 @@ option(
> - @imports(_from="mozbuild.pythonutil", _import="find_python3_executable")
> - @imports(_from="mozbuild.pythonutil", _import="python_executable_version")
> - @imports(_from="six", _import="ensure_text")
> -+@imports(_from="__builtin__", _import="KeyError")
> - def virtualenv_python3(env_python, build_env, mozconfig, help):
> -     # Avoid re-executing python when running configure --help.
> -     if help:
> -@@ -271,6 +272,12 @@ def virtualenv_python3(env_python, virtualenv_name, bu
> -             python = mozconfig["vars"]["added"]["PYTHON3"]
> -         elif "PYTHON3" in mozconfig["vars"]["modified"]:
> -             python = mozconfig["vars"]["modified"]["PYTHON3"][1]
> -+        for i in ("env", "vars"):
> -+            for j in ("added", "modified"):
> -+                try:
> -+                    del mozconfig[i][j]["PYTHON3"]
> -+                except KeyError:
> -+                    pass
> -
> -     log.debug("python3: executable from configuration: %r" % python)
> -
> -@@ -364,7 +371,10 @@ def virtualenv_python3(env_python, virtualenv_name, bu
> -         )
> -         log.info("Re-executing in the virtualenv")
> -         if env_python:
> --            del os.environ["PYTHON3"]
> -+                try:
> -+                    del os.environ["PYTHON3"]
> -+                except KeyError:
> -+                    pass
> -         # Another quirk on macOS, with the system python, the virtualenv is
> -         # not fully operational (missing entries in sys.path) if
> -         # __PYVENV_LAUNCHER__ is set.
> diff --git a/mail/thunderbird/files/patch-bug1559213 b/mail/thunderbird/files/patch-bug1559213
> index 16928f792f89..09b4dcc58e83 100644
> --- a/mail/thunderbird/files/patch-bug1559213
> +++ b/mail/thunderbird/files/patch-bug1559213
> @@ -11,10 +11,10 @@ Date:   Thu Jun 13 11:53:00 2019 -0700
>    4 files changed, 34 insertions(+), 3 deletions(-)
>   
>   diff --git config/external/moz.build config/external/moz.build
> -index 03e4fa143bd1..a67d10b11fe6 100644
> +index ab77121..75595d9 100644
>   --- config/external/moz.build
>   +++ config/external/moz.build
> -@@ -40,8 +40,9 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
> +@@ -49,8 +49,9 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
>        external_dirs += ["media/libvpx"]
>    
>    if CONFIG["MOZ_AV1"]: @@ -27,11 +27,11 @@ index 03e4fa143bd1..a67d10b11fe6 100644 if not 
> CONFIG["MOZ_SYSTEM_PNG"]:
>        external_dirs += ["media/libpng"] diff --git config/system-headers.mozbuild 
> config/system-headers.mozbuild -index bcf5c4925564..48964a999a9b 
> 100644 +index a1b58eb..65729f9 100644 --- 
> config/system-headers.mozbuild +++ config/system-headers.mozbuild -@@ 
> -1305,6 +1305,14 @@ if CONFIG['MOZ_SYSTEM_HARFBUZZ']: - 
> 'harfbuzz/hb.h', +@@ -1289,6 +1289,14 @@ if 
> CONFIG['MOZ_ENABLE_LIBPROXY']: + 'proxy.h', ] +if 
> CONFIG['MOZ_SYSTEM_AV1']: @@ -46,7 +46,7 @@ index 
> bcf5c4925564..48964a999a9b 100644 system_headers += [ 
> 'vpx_mem/vpx_mem.h', diff --git dom/media/platforms/moz.build 
> dom/media/platforms/moz.build -index 092cee0c9b66..38e45de5b5f0 100644 
> +index 8509aec..eb6f129 100644 --- dom/media/platforms/moz.build +++ 
> dom/media/platforms/moz.build @@ -78,6 +78,11 @@ if CONFIG["MOZ_AV1"]: @@ -61,11 +61,33 @@ index 092cee0c9b66..38e45de5b5f0 100644 if 
> CONFIG["MOZ_OMX"]:
>        EXPORTS += [
> +diff --git media/ffvpx/libavcodec/moz.build media/ffvpx/libavcodec/moz.build
> +index 0069865..e806fc8 100644
> +--- media/ffvpx/libavcodec/moz.build
> ++++ media/ffvpx/libavcodec/moz.build
> +@@ -112,9 +112,15 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
> +             'vaapi_vp8.c',
> +             'vaapi_vp9.c',
> +         ]
> ++        if CONFIG["MOZ_SYSTEM_AV1"]:
> ++          CFLAGS += CONFIG['MOZ_SYSTEM_LIBDAV1D_CFLAGS']
> ++          OS_LIBS += CONFIG['MOZ_SYSTEM_LIBDAV1D_LIBS']
> ++        else:
> ++          USE_LIBS += [
> ++            'dav1d',
> ++            'media_libdav1d_asm',
> ++          ]
> +         USE_LIBS += [
> +-          'dav1d',
> +-          'media_libdav1d_asm',
> +           'mozva'
> +         ]
> +
>   diff --git toolkit/moz.configure toolkit/moz.configure
> -index 82b5a59acf42..e2329560b42b 100644
> ---- toolkit/moz.configure.orig	2021-04-13 16:12:34.770032000 +0200
> -+++ toolkit/moz.configure	2021-04-18 00:03:41.432698000 +0200
> -@@ -538,7 +538,23 @@
> +index 0069865..e806fc8 100644
> +--- toolkit/moz.configure
> ++++ toolkit/moz.configure
> +@@ -523,7 +523,23 @@ def av1(value):
>            return True
>    
>    
> @@ -90,11 +112,11 @@ index 82b5a59acf42..e2329560b42b 100644
>    def dav1d_asm(target):
>        if target.cpu in ("aarch64", "x86", "x86_64"):
>            return True
> -@@ -554,6 +570,7 @@
> +@@ -539,6 +555,7 @@ set_config("MOZ_DAV1D_ASM", dav1d_asm)
>    set_define("MOZ_DAV1D_ASM", dav1d_asm)
>    set_config("MOZ_AV1", av1)
>    set_define("MOZ_AV1", av1)
>   +set_config("MOZ_SYSTEM_AV1", depends_if(system_av1)(lambda _: True))
>    
> - # Built-in fragmented MP4 support.
> + # JXL Image Codec Support
>    # ==============================================================
> diff --git a/mail/thunderbird/files/patch-bug1602730_comment5 b/mail/thunderbird/files/patch-bug1602730_comment5
> deleted file mode 100644
> index 49f9f4321df8..000000000000
> --- a/mail/thunderbird/files/patch-bug1602730_comment5
> +++ /dev/null
> @@ -1,24 +0,0 @@
> ---- gfx/layers/composite/CompositableHost.cpp.orig	2020-09-12 21:47:42 UTC
> -+++ gfx/layers/composite/CompositableHost.cpp
> -@@ -13,6 +13,7 @@
> - #include "ImageHost.h"  // for ImageHostBuffered, etc
> - #include "Layers.h"
> - #include "TiledContentHost.h"  // for TiledContentHost
> -+#include "mozilla/EndianUtils.h"
> - #include "mozilla/gfx/gfxVars.h"
> - #include "mozilla/layers/LayersSurfaces.h"  // for SurfaceDescriptor
> - #include "mozilla/layers/TextureHost.h"     // for TextureHost, etc
> -@@ -92,9 +93,13 @@ bool CompositableHost::AddMaskEffect(EffectChain& aEff
> -   }
> -   MOZ_ASSERT(source);
> -
> -+  // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
> -+  // if the typed URL is too long for the textbox (automatic scrolling needed)
> -+#if MOZ_LITTLE_ENDIAN()
> -   RefPtr<EffectMask> effect =
> -       new EffectMask(source, source->GetSize(), aTransform);
> -   aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
> -+#endif
> -   return true;
> - }
> -
> diff --git a/mail/thunderbird/files/patch-bug1612184 b/mail/thunderbird/files/patch-bug1612184
> deleted file mode 100644
> index 33d391a3b647..000000000000
> --- a/mail/thunderbird/files/patch-bug1612184
> +++ /dev/null
> @@ -1,25961 +0,0 @@
> -https://bugzilla.mozilla.org/show_bug.cgi?id=1612184
> -https://bug1612184.bmoattachments.org/attachment.cgi?id=9126363
> -
> -
> -diff -r 388a4d04e911 media/webrtc/gn-configs/ppc64_False_ppc64_freebsd.json
> ---- /dev/null	Thu Jan 01 00:00:00 1970 +0000
> -+++ dom/media/webrtc/third_party_build/gn-configs/ppc64_False_ppc64_freebsd.json	Thu Feb 13 11:11:51 2020 +0100
> -@@ -0,0 +1,13237 @@
> -+{
> -+    "gn_gen_args": {
> -+        "host_cpu": "ppc64",
> -+        "is_debug": false,
> -+        "target_cpu": "ppc64",
> -+        "target_os": "freebsd"
> -+    },
> -+    "mozbuild_args": {
> -+        "CPU_ARCH": "ppc64",
> -+        "HOST_CPU_ARCH": "ppc64",
> -+        "MOZ_DEBUG": null,
> -+        "OS_TARGET": "FreeBSD"
> -+    },
> -+    "sandbox_vars": {
> -+        "COMPILE_FLAGS": {
> -+            "WARNINGS_AS_ERRORS": []
> -+        },
> -+        "FINAL_LIBRARY": "webrtc"
> -+    },
> -+    "targets": {
> -+        "//:webrtc": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD",
> -+                "HAVE_WEBRTC_VIDEO",
> -+                "HAVE_WEBRTC_VOICE"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:base_peerconnection_api",
> -+                "//api:transport_api",
> -+                "//api:video_frame_api",
> -+                "//audio:audio",
> -+                "//call:call",
> -+                "//common_audio:common_audio",
> -+                "//common_video:common_video",
> -+                "//media:media",
> -+                "//modules:modules",
> -+                "//modules/video_capture:video_capture_internal_impl",
> -+                "//rtc_base:rtc_base",
> -+                "//system_wrappers:field_trial_default",
> -+                "//system_wrappers:metrics_default",
> -+                "//system_wrappers:system_wrappers_default",
> -+                "//video:video",
> -+                "//voice_engine:voice_engine"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
> -+                "//common_audio/resampler/include/",
> -+                "//common_audio/signal_processing/include/",
> -+                "//common_audio/vad/include/",
> -+                "//common_video/include/",
> -+                "/media/libyuv/libyuv/include/",
> -+                "//modules/audio_coding/include/",
> -+                "//modules/include/",
> -+                "//modules/include/",
> -+                "//modules/audio_device/include/",
> -+                "//modules/audio_device/dummy/"
> -+            ],
> -+            "libs": [
> -+                "X11",
> -+                "X11-xcb",
> -+                "xcb",
> -+                "Xcomposite",
> -+                "Xcursor",
> -+                "Xdamage",
> -+                "Xext",
> -+                "Xfixes",
> -+                "Xi",
> -+                "Xrender"
> -+            ],
> -+            "sources": [],
> -+            "type": "static_library"
> -+        },
> -+        "//:webrtc_common": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/"
> -+            ],
> -+            "libs": [],
> -+            "sources": [
> -+                "//common_types.cc",
> -+                "//common_types.h",
> -+                "//typedefs.h"
> -+            ],
> -+            "type": "static_library"
> -+        },
> -+        "//api/audio_codecs/L16:audio_decoder_L16": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:optional",
> -+                "//api/audio_codecs:audio_codecs_api",
> -+                "//modules/audio_coding:pcm16b",
> -+                "//rtc_base:rtc_base_approved"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
> -+                "//modules/audio_coding/codecs/pcm16b/include/"
> -+            ],
> -+            "libs": [],
> -+            "sources": [
> -+                "//api/audio_codecs/L16/audio_decoder_L16.cc",
> -+                "//api/audio_codecs/L16/audio_decoder_L16.h"
> -+            ],
> -+            "type": "static_library"
> -+        },
> -+        "//api/audio_codecs/L16:audio_encoder_L16": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:optional",
> -+                "//api/audio_codecs:audio_codecs_api",
> -+                "//modules/audio_coding:pcm16b",
> -+                "//rtc_base:rtc_base_approved"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
> -+                "//modules/audio_coding/codecs/pcm16b/include/"
> -+            ],
> -+            "libs": [],
> -+            "sources": [
> -+                "//api/audio_codecs/L16/audio_encoder_L16.cc",
> -+                "//api/audio_codecs/L16/audio_encoder_L16.h"
> -+            ],
> -+            "type": "static_library"
> -+        },
> -+        "//api/audio_codecs/g711:audio_decoder_g711": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:optional",
> -+                "//api/audio_codecs:audio_codecs_api",
> -+                "//modules/audio_coding:g711",
> -+                "//rtc_base:rtc_base_approved"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
> -+                "//modules/audio_coding/codecs/g711/include/"
> -+            ],
> -+            "libs": [],
> -+            "sources": [
> -+                "//api/audio_codecs/g711/audio_decoder_g711.cc",
> -+                "//api/audio_codecs/g711/audio_decoder_g711.h"
> -+            ],
> -+            "type": "static_library"
> -+        },
> -+        "//api/audio_codecs/g711:audio_encoder_g711": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:optional",
> -+                "//api/audio_codecs:audio_codecs_api",
> -+                "//modules/audio_coding:g711",
> -+                "//rtc_base:rtc_base_approved"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> -+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
> -+                "//modules/audio_coding/codecs/g711/include/"
> -+            ],
> -+            "libs": [],
> -+            "sources": [
> -+                "//api/audio_codecs/g711/audio_encoder_g711.cc",
> -+                "//api/audio_codecs/g711/audio_encoder_g711.h"
> -+            ],
> -+            "type": "static_library"
> -+        },
> -+        "//api/audio_codecs/g722:audio_decoder_g722": {
> -+            "cflags": [
> -+                "-fno-strict-aliasing",
> -+                "--param=ssp-buffer-size=4",
> -+                "-fstack-protector",
> -+                "-Wno-builtin-macro-redefined",
> -+                "-D__DATE__=",
> -+                "-D__TIME__=",
> -+                "-D__TIMESTAMP__=",
> -+                "-funwind-tables",
> -+                "-fcolor-diagnostics",
> -+                "-Wall",
> -+                "-Werror",
> -+                "-Wextra",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-c++11-narrowing",
> -+                "-Wno-covered-switch-default",
> -+                "-Wno-unneeded-internal-declaration",
> -+                "-Wno-inconsistent-missing-override",
> -+                "-Wno-undefined-var-template",
> -+                "-Wno-nonportable-include-path",
> -+                "-Wno-address-of-packed-member",
> -+                "-Wno-unused-lambda-capture",
> -+                "-Wno-user-defined-warnings",
> -+                "-O2",
> -+                "-fno-ident",
> -+                "-fdata-sections",
> -+                "-ffunction-sections",
> -+                "-fomit-frame-pointer",
> -+                "-g2",
> -+                "-fvisibility=hidden",
> -+                "-Xclang",
> -+                "-add-plugin",
> -+                "-Xclang",
> -+                "find-bad-constructs",
> -+                "-Xclang",
> -+                "-plugin-arg-find-bad-constructs",
> -+                "-Xclang",
> -+                "check-auto-raw-pointer",
> -+                "-Wheader-hygiene",
> -+                "-Wstring-conversion",
> -+                "-Wtautological-overlap-compare",
> -+                "-Wextra",
> -+                "-Wno-unused-parameter",
> -+                "-Wno-missing-field-initializers",
> -+                "-Wno-strict-overflow",
> -+                "-Wc++11-narrowing",
> -+                "-Wimplicit-fallthrough",
> -+                "-Wthread-safety",
> -+                "-Winconsistent-missing-override",
> -+                "-Wundef",
> -+                "-Wunused-lambda-capture"
> -+            ],
> -+            "defines": [
> -+                "V8_DEPRECATION_WARNINGS",
> -+                "USE_X11=1",
> -+                "CHROMIUM_BUILD",
> -+                "_FILE_OFFSET_BITS=64",
> -+                "NDEBUG",
> -+                "NVALGRIND",
> -+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
> -+                "WEBRTC_ENABLE_PROTOBUF=0",
> -+                "WEBRTC_RESTRICT_LOGGING",
> -+                "WEBRTC_MOZILLA_BUILD",
> -+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
> -+                "WEBRTC_POSIX",
> -+                "WEBRTC_BSD"
> -+            ],
> -+            "deps": [
> -+                "//:webrtc_common",
> -+                "//api:optional",
> -+                "//api/audio_codecs:audio_codecs_api",
> -+                "//modules/audio_coding:g722",
> -+                "//rtc_base:rtc_base_approved"
> -+            ],
> -+            "include_dirs": [
> -+                "//",
> *** 97214 LINES SKIPPED ***