Sat Dec 11 14:10:01 2021 UTC ()
firefox: Update to 95.0

Changelog:
New

  * RLBox --- a new technology that hardens Firefox against potential security
    vulnerabilities in third-party libraries --- is now enabled on all
    platforms.

  * Good news! You can now download Firefox from the Microsoft Store on Windows
    10 and Windows 11 platforms.

  * We've reduced CPU usage on macOS in Firefox and WindowServer during event
    processing.

  * We've also reduced the power usage of software decoded video on macOS,
    especially in fullscreen. This includes streaming sites such as Netflix and
    Amazon Prime Video.

  * You can now move the Picture-in-Picture toggle button to the opposite side
    of the video. Simply look for the new context menu option Move
    Picture-in-Picture Toggle to Left (Right) Side.

  * To better protect Firefox users against side-channel attacks such as
    Spectre, Site Isolation is now enabled for all Firefox 95 users.

Fixed

  * After starting Firefox, users of the JAWS screen reader and ZoomText
    magnifier will no longer need to switch applications in order to access
    Firefox.

  * You'll find the state of controls using the ARIA switch role is now
    correctly reported by Mac OS VoiceOver.

  * You'll see a faster content process startup on macOS.

  * We've also made memory allocator improvements.

  * And we've improved page load performance by speculatively compiling
    JavaScript ahead of time.

  * Various security fixes

Changed

  * We've added a User Agent override for Slack.com, which allows Firefox
    users to use more Call features and have access to Huddles.

Security fixes:
Mozilla Foundation Security Advisory 2021-52

#CVE-2021-43536: URL leakage when navigating while executing asynchronous
 function
#CVE-2021-43537: Heap buffer overflow when using structured clone
#CVE-2021-43538: Missing fullscreen and pointer lock notification when
 requesting both
#CVE-2021-43539: GC rooting failure when calling wasm instance methods
#MOZ-2021-0010: Use-after-free in fullscreen objects on MacOS
#CVE-2021-43540: WebExtensions could have installed persistent ServiceWorkers
#CVE-2021-43541: External protocol handler parameters were unescaped
#CVE-2021-43542: XMLHttpRequest error codes could have leaked the existence of
 an external protocol handler
#CVE-2021-43543: Bypass of CSP sandbox directive when embedding
#CVE-2021-43544: Receiving a malicious URL as text through a SEND intent could
 have led to XSS
#CVE-2021-43545: Denial of Service when using the Location API in a loop
#CVE-2021-43546: Cursor spoofing could overlay user interface when native
 cursor is zoomed
#MOZ-2021-0009: Memory safety bugs fixed in Firefox 95 and Firefox ESR 91.4


(ryoon)
diff -r1.502 -r1.503 pkgsrc/www/firefox/Makefile
diff -r1.454 -r1.455 pkgsrc/www/firefox/distinfo
diff -r1.211 -r1.212 pkgsrc/www/firefox/mozilla-common.mk
diff -r1.8 -r1.9 pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk
diff -r1.8 -r0 pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp
diff -r0 -r1.1 pkgsrc/www/firefox/patches/patch-layout_style_extra-bindgen-flags.in

cvs diff -r1.502 -r1.503 pkgsrc/www/firefox/Makefile (expand / switch to unified diff)

--- pkgsrc/www/firefox/Makefile 2021/12/08 16:06:55 1.502
+++ pkgsrc/www/firefox/Makefile 2021/12/11 14:10:01 1.503
@@ -1,28 +1,28 @@ @@ -1,28 +1,28 @@
1# $NetBSD: Makefile,v 1.502 2021/12/08 16:06:55 adam Exp $ 1# $NetBSD: Makefile,v 1.503 2021/12/11 14:10:01 ryoon Exp $
2 2
3FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} 3FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
4MOZ_BRANCH= 94.0 4MOZ_BRANCH= 95.0
5MOZ_BRANCH_MINOR= .2 5MOZ_BRANCH_MINOR=
6 6
7DISTNAME= firefox-${FIREFOX_VER}.source 7DISTNAME= firefox-${FIREFOX_VER}.source
8PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} 8PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
9PKGREVISION= 1 
10CATEGORIES= www 9CATEGORIES= www
11MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} 10MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
12EXTRACT_SUFX= .tar.xz 11EXTRACT_SUFX= .tar.xz
13 12
14DISTFILES= ${DEFAULT_DISTFILES} nodejs-output-94.0.tgz 13NODEJSKIT= nodejs-output-95.0.tgz
15SITES.nodejs-output-94.0.tgz= ${MASTER_SITE_LOCAL} 14DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT}
 15SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL}
16 16
17MAINTAINER= ryoon@NetBSD.org 17MAINTAINER= ryoon@NetBSD.org
18HOMEPAGE= https://www.mozilla.org/en-US/firefox/ 18HOMEPAGE= https://www.mozilla.org/en-US/firefox/
19COMMENT= Web browser with support for extensions (version ${FIREFOX_VER:tu:C/\\.[[:digit:]\.]*//}) 19COMMENT= Web browser with support for extensions (version ${FIREFOX_VER:tu:C/\\.[[:digit:]\.]*//})
20LICENSE= mpl-1.1 20LICENSE= mpl-1.1
21 21
22# -------- BEFORE UPDATING THIS PACKAGE PLEASE READ & UNDERSTAND: ------- 22# -------- BEFORE UPDATING THIS PACKAGE PLEASE READ & UNDERSTAND: -------
23# 23#
24# This package works around a (stupid) build time dependency on nodejs 24# This package works around a (stupid) build time dependency on nodejs
25# (which is not available for all architectures and unnecessary for the 25# (which is not available for all architectures and unnecessary for the
26# real build). To do this, it places some additional burden on the 26# real build). To do this, it places some additional burden on the
27# maintainer. 27# maintainer.
28# 28#

cvs diff -r1.454 -r1.455 pkgsrc/www/firefox/distinfo (expand / switch to unified diff)

--- pkgsrc/www/firefox/distinfo 2021/11/25 14:33:41 1.454
+++ pkgsrc/www/firefox/distinfo 2021/12/11 14:10:01 1.455
@@ -1,39 +1,39 @@ @@ -1,39 +1,39 @@
1$NetBSD: distinfo,v 1.454 2021/11/25 14:33:41 ryoon Exp $ 1$NetBSD: distinfo,v 1.455 2021/12/11 14:10:01 ryoon Exp $
2 2
3BLAKE2s (firefox-94.0.2.source.tar.xz) = e447c494a13a9cab76843bd5976e46756bd5369d2ceec32781b59156473f5436 3BLAKE2s (firefox-95.0.source.tar.xz) = 2cf104a9e2c7161ef19617214307aa8eacfa9527cde3ed0152211e448dff2ccb
4SHA512 (firefox-94.0.2.source.tar.xz) = 00ce4f6be711e1f309828e030163e61bbd9fe3364a8e852e644177c93832078877dea1a516719b106a52c0d8462193ed52c1d3cc7ae34ea021eb1dd0f5b685e2 4SHA512 (firefox-95.0.source.tar.xz) = 350672a2cd99195c67dafc0e71c6eaf1e23e85a5fe92775697119a054f17c34a736035e23d7f2bb404b544f0f144efef3843cfc293596a6e61d1ea36efc3a724
5Size (firefox-94.0.2.source.tar.xz) = 382896780 bytes 5Size (firefox-95.0.source.tar.xz) = 382853940 bytes
6BLAKE2s (nodejs-output-94.0.tgz) = c763e334427a0a861e1667e34b361d19474659cc045b7ed3ebfe8864d632c7cb 6BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9
7SHA512 (nodejs-output-94.0.tgz) = 31aac9132a830877f4bf38575160d60f150a847e8c6c070db5fad4a83ad54cad4e7701c598d4808d89413e7d9ca40e10d751203a2f162e96c47fedd60de1dc9e 7SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798
8Size (nodejs-output-94.0.tgz) = 200548 bytes 8Size (nodejs-output-95.0.tgz) = 200627 bytes
9SHA1 (patch-aa) = 15b8567cee2af9853f6949c80345ffcb1fd3852a 9SHA1 (patch-aa) = 15b8567cee2af9853f6949c80345ffcb1fd3852a
10SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0 10SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0
11SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 11SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678
12SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a 12SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
13SHA1 (patch-config_makefiles_rust.mk) = 9a49c534707100c27c1fac06c82ec9245d17898b 13SHA1 (patch-config_makefiles_rust.mk) = fa9f0f59a179cae2562a76110fada49039490fb8
14SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 14SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
15SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 15SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
16SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045 16SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045
17SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad 17SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
18SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = 76c244e4e9f947c027feaf516c9b435dfb92ab2b 
19SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb 18SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb
20SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c 19SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
21SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 20SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
22SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836 21SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836
23SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605 22SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605
24SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183 23SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183
25SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba 24SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba
26SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47 25SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47
 26SHA1 (patch-layout_style_extra-bindgen-flags.in) = e6c3b68d887c112dacf6c2782e776dc55723eaec
27SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a 27SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a
28SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a 28SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a
29SHA1 (patch-media_libcubeb_src_moz.build) = e4e64a1135cf4157ae5b6f7c1710ebd076953479 29SHA1 (patch-media_libcubeb_src_moz.build) = e4e64a1135cf4157ae5b6f7c1710ebd076953479
30SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc 30SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc
31SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f 31SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f
32SHA1 (patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = f495b64d33db4940c0dfe8c36ddf82aa752b25d9 32SHA1 (patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = f495b64d33db4940c0dfe8c36ddf82aa752b25d9
33SHA1 (patch-modules_fdlibm_src_math__private.h) = 6ae3b0077b4a8c6088c35769fa1972cfc44ea9c1 33SHA1 (patch-modules_fdlibm_src_math__private.h) = 6ae3b0077b4a8c6088c35769fa1972cfc44ea9c1
34SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00 34SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00
35SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0 35SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0
36SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 36SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4
37SHA1 (patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc) = 5b0ccc4e8a66be37b2fe3ae30b47c40edb6aa831 37SHA1 (patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc) = 5b0ccc4e8a66be37b2fe3ae30b47c40edb6aa831
38SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3 38SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3
39SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12 39SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12

cvs diff -r1.211 -r1.212 pkgsrc/www/firefox/mozilla-common.mk (expand / switch to unified diff)

--- pkgsrc/www/firefox/mozilla-common.mk 2021/11/12 20:14:31 1.211
+++ pkgsrc/www/firefox/mozilla-common.mk 2021/12/11 14:10:01 1.212
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: mozilla-common.mk,v 1.211 2021/11/12 20:14:31 gutteridge Exp $ 1# $NetBSD: mozilla-common.mk,v 1.212 2021/12/11 14:10:01 ryoon Exp $
2# 2#
3# common Makefile fragment for mozilla packages based on gecko 2.0. 3# common Makefile fragment for mozilla packages based on gecko 2.0.
4# 4#
5# used by www/firefox/Makefile 5# used by www/firefox/Makefile
6 6
7.include "../../mk/bsd.prefs.mk" 7.include "../../mk/bsd.prefs.mk"
8 8
9PYTHON_VERSIONS_INCOMPATIBLE= 27 9PYTHON_VERSIONS_INCOMPATIBLE= 27
10PYTHON_FOR_BUILD_ONLY= tool 10PYTHON_FOR_BUILD_ONLY= tool
11ALL_ENV+= PYTHON3=${PYTHONBIN} 11ALL_ENV+= PYTHON3=${PYTHONBIN}
12 12
13HAS_CONFIGURE= yes 13HAS_CONFIGURE= yes
14CONFIGURE_ARGS+= --prefix=${PREFIX} 14CONFIGURE_ARGS+= --prefix=${PREFIX}
@@ -94,26 +94,28 @@ CONFIGURE_ARGS+= --with-system-nspr @@ -94,26 +94,28 @@ CONFIGURE_ARGS+= --with-system-nspr
94CONFIGURE_ARGS+= --with-system-zlib 94CONFIGURE_ARGS+= --with-system-zlib
95CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} 95CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent}
96CONFIGURE_ARGS+= --disable-crashreporter 96CONFIGURE_ARGS+= --disable-crashreporter
97CONFIGURE_ARGS+= --disable-necko-wifi 97CONFIGURE_ARGS+= --disable-necko-wifi
98CONFIGURE_ARGS+= --enable-chrome-format=omni 98CONFIGURE_ARGS+= --enable-chrome-format=omni
99CONFIGURE_ARGS+= --with-system-webp 99CONFIGURE_ARGS+= --with-system-webp
100 100
101#CONFIGURE_ARGS+= --enable-readline 101#CONFIGURE_ARGS+= --enable-readline
102CONFIGURE_ARGS+= --disable-icf 102CONFIGURE_ARGS+= --disable-icf
103CONFIGURE_ARGS+= --disable-updater 103CONFIGURE_ARGS+= --disable-updater
104 104
105#CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib 105#CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib
106 106
 107CONFIGURE_ARGS+= --without-wasm-sandboxed-libraries
 108
107SUBST_CLASSES+= fix-paths 109SUBST_CLASSES+= fix-paths
108SUBST_STAGE.fix-paths= pre-configure 110SUBST_STAGE.fix-paths= pre-configure
109SUBST_MESSAGE.fix-paths= Fixing absolute paths. 111SUBST_MESSAGE.fix-paths= Fixing absolute paths.
110SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp 112SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
111SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' 113SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
112 114
113CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess 115CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess
114CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess 116CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess
115CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess 117CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
116CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess 118CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess
117CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub 119CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub
118CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub 120CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub
119CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub 121CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub

cvs diff -r1.8 -r1.9 pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk (expand / switch to unified diff)

--- pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk 2021/11/11 16:48:04 1.8
+++ pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk 2021/12/11 14:10:01 1.9
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: patch-config_makefiles_rust.mk,v 1.8 2021/11/11 16:48:04 ryoon Exp $ 1$NetBSD: patch-config_makefiles_rust.mk,v 1.9 2021/12/11 14:10:01 ryoon Exp $
2 2
3NetBSD doesn't get along with parallel rust builds (it causes issues 3NetBSD doesn't get along with parallel rust builds (it causes issues
4with ld.so) which are the default. Force -j1. 4with ld.so) which are the default. Force -j1.
5 5
6--- config/makefiles/rust.mk.orig 2021-10-28 18:58:50.000000000 +0000 6--- config/makefiles/rust.mk.orig 2021-11-25 21:18:06.000000000 +0000
7+++ config/makefiles/rust.mk 7+++ config/makefiles/rust.mk
8@@ -58,6 +58,9 @@ ifdef MOZ_TSAN 8@@ -58,6 +58,9 @@ ifdef MOZ_TSAN
9 cargo_build_flags += -Zbuild-std=std,panic_abort 9 cargo_build_flags += -Zbuild-std=std,panic_abort
10 RUSTFLAGS += -Zsanitizer=thread 10 RUSTFLAGS += -Zsanitizer=thread
11 endif 11 endif
12+ifeq ($(OS_ARCH),NetBSD) 12+ifeq ($(OS_ARCH),NetBSD)
13+cargo_build_flags += -j1 13+cargo_build_flags += -j1
14+endif 14+endif
15  15
16 # These flags are passed via `cargo rustc` and only apply to the final rustc 16 rustflags_sancov =
17 # invocation (i.e., only the top-level crate, not its dependencies). 17 ifdef LIBFUZZER

File Deleted: pkgsrc/www/firefox/patches/Attic/patch-gfx_thebes_gfxPlatform.cpp

File Added: pkgsrc/www/firefox/patches/Attic/patch-layout_style_extra-bindgen-flags.in
$NetBSD: patch-layout_style_extra-bindgen-flags.in,v 1.1 2021/12/11 14:10:01 ryoon Exp $

Fix build failure, unicode/uenum.h not found error.
https://hg.mozilla.org/integration/autoland/rev/b6be0f1bccf7

--- layout/style/extra-bindgen-flags.in.orig	2021-11-25 21:18:46.000000000 +0000
+++ layout/style/extra-bindgen-flags.in
@@ -1 +1 @@
-@BINDGEN_SYSTEM_FLAGS@ @NSPR_CFLAGS@ @MOZ_PIXMAN_CFLAGS@
+@BINDGEN_SYSTEM_FLAGS@ @NSPR_CFLAGS@ @MOZ_PIXMAN_CFLAGS@ @MOZ_ICU_CFLAGS@