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.4diff -r1.502 -r1.503 pkgsrc/www/firefox/Makefile
(ryoon)
@@ -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 | |||
3 | FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} | 3 | FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} | |
4 | MOZ_BRANCH= 94.0 | 4 | MOZ_BRANCH= 95.0 | |
5 | MOZ_BRANCH_MINOR= .2 | 5 | MOZ_BRANCH_MINOR= | |
6 | 6 | |||
7 | DISTNAME= firefox-${FIREFOX_VER}.source | 7 | DISTNAME= firefox-${FIREFOX_VER}.source | |
8 | PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} | 8 | PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} | |
9 | PKGREVISION= 1 | |||
10 | CATEGORIES= www | 9 | CATEGORIES= www | |
11 | MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} | 10 | MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} | |
12 | EXTRACT_SUFX= .tar.xz | 11 | EXTRACT_SUFX= .tar.xz | |
13 | 12 | |||
14 | DISTFILES= ${DEFAULT_DISTFILES} nodejs-output-94.0.tgz | 13 | NODEJSKIT= nodejs-output-95.0.tgz | |
15 | SITES.nodejs-output-94.0.tgz= ${MASTER_SITE_LOCAL} | 14 | DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT} | |
15 | SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL} | |||
16 | 16 | |||
17 | MAINTAINER= ryoon@NetBSD.org | 17 | MAINTAINER= ryoon@NetBSD.org | |
18 | HOMEPAGE= https://www.mozilla.org/en-US/firefox/ | 18 | HOMEPAGE= https://www.mozilla.org/en-US/firefox/ | |
19 | COMMENT= Web browser with support for extensions (version ${FIREFOX_VER:tu:C/\\.[[:digit:]\.]*//}) | 19 | COMMENT= Web browser with support for extensions (version ${FIREFOX_VER:tu:C/\\.[[:digit:]\.]*//}) | |
20 | LICENSE= mpl-1.1 | 20 | LICENSE= 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 | # |
@@ -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 | |||
3 | BLAKE2s (firefox-94.0.2.source.tar.xz) = e447c494a13a9cab76843bd5976e46756bd5369d2ceec32781b59156473f5436 | 3 | BLAKE2s (firefox-95.0.source.tar.xz) = 2cf104a9e2c7161ef19617214307aa8eacfa9527cde3ed0152211e448dff2ccb | |
4 | SHA512 (firefox-94.0.2.source.tar.xz) = 00ce4f6be711e1f309828e030163e61bbd9fe3364a8e852e644177c93832078877dea1a516719b106a52c0d8462193ed52c1d3cc7ae34ea021eb1dd0f5b685e2 | 4 | SHA512 (firefox-95.0.source.tar.xz) = 350672a2cd99195c67dafc0e71c6eaf1e23e85a5fe92775697119a054f17c34a736035e23d7f2bb404b544f0f144efef3843cfc293596a6e61d1ea36efc3a724 | |
5 | Size (firefox-94.0.2.source.tar.xz) = 382896780 bytes | 5 | Size (firefox-95.0.source.tar.xz) = 382853940 bytes | |
6 | BLAKE2s (nodejs-output-94.0.tgz) = c763e334427a0a861e1667e34b361d19474659cc045b7ed3ebfe8864d632c7cb | 6 | BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9 | |
7 | SHA512 (nodejs-output-94.0.tgz) = 31aac9132a830877f4bf38575160d60f150a847e8c6c070db5fad4a83ad54cad4e7701c598d4808d89413e7d9ca40e10d751203a2f162e96c47fedd60de1dc9e | 7 | SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798 | |
8 | Size (nodejs-output-94.0.tgz) = 200548 bytes | 8 | Size (nodejs-output-95.0.tgz) = 200627 bytes | |
9 | SHA1 (patch-aa) = 15b8567cee2af9853f6949c80345ffcb1fd3852a | 9 | SHA1 (patch-aa) = 15b8567cee2af9853f6949c80345ffcb1fd3852a | |
10 | SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0 | 10 | SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0 | |
11 | SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 | 11 | SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 | |
12 | SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a | 12 | SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a | |
13 | SHA1 (patch-config_makefiles_rust.mk) = 9a49c534707100c27c1fac06c82ec9245d17898b | 13 | SHA1 (patch-config_makefiles_rust.mk) = fa9f0f59a179cae2562a76110fada49039490fb8 | |
14 | SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 | 14 | SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 | |
15 | SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 | 15 | SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 | |
16 | SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045 | 16 | SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045 | |
17 | SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad | 17 | SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad | |
18 | SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = 76c244e4e9f947c027feaf516c9b435dfb92ab2b | |||
19 | SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb | 18 | SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb | |
20 | SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c | 19 | SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c | |
21 | SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 | 20 | SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 | |
22 | SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836 | 21 | SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836 | |
23 | SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605 | 22 | SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605 | |
24 | SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183 | 23 | SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183 | |
25 | SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba | 24 | SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba | |
26 | SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47 | 25 | SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47 | |
26 | SHA1 (patch-layout_style_extra-bindgen-flags.in) = e6c3b68d887c112dacf6c2782e776dc55723eaec | |||
27 | SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a | 27 | SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a | |
28 | SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a | 28 | SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a | |
29 | SHA1 (patch-media_libcubeb_src_moz.build) = e4e64a1135cf4157ae5b6f7c1710ebd076953479 | 29 | SHA1 (patch-media_libcubeb_src_moz.build) = e4e64a1135cf4157ae5b6f7c1710ebd076953479 | |
30 | SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc | 30 | SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc | |
31 | SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f | 31 | SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f | |
32 | SHA1 (patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = f495b64d33db4940c0dfe8c36ddf82aa752b25d9 | 32 | SHA1 (patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = f495b64d33db4940c0dfe8c36ddf82aa752b25d9 | |
33 | SHA1 (patch-modules_fdlibm_src_math__private.h) = 6ae3b0077b4a8c6088c35769fa1972cfc44ea9c1 | 33 | SHA1 (patch-modules_fdlibm_src_math__private.h) = 6ae3b0077b4a8c6088c35769fa1972cfc44ea9c1 | |
34 | SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00 | 34 | SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00 | |
35 | SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0 | 35 | SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0 | |
36 | SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 | 36 | SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 | |
37 | SHA1 (patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc) = 5b0ccc4e8a66be37b2fe3ae30b47c40edb6aa831 | 37 | SHA1 (patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc) = 5b0ccc4e8a66be37b2fe3ae30b47c40edb6aa831 | |
38 | SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3 | 38 | SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3 | |
39 | SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12 | 39 | SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12 |
@@ -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 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
10 | PYTHON_FOR_BUILD_ONLY= tool | 10 | PYTHON_FOR_BUILD_ONLY= tool | |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
12 | 12 | |||
13 | HAS_CONFIGURE= yes | 13 | HAS_CONFIGURE= yes | |
14 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 14 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
@@ -94,26 +94,28 @@ CONFIGURE_ARGS+= --with-system-nspr | @@ -94,26 +94,28 @@ CONFIGURE_ARGS+= --with-system-nspr | |||
94 | CONFIGURE_ARGS+= --with-system-zlib | 94 | CONFIGURE_ARGS+= --with-system-zlib | |
95 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} | 95 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} | |
96 | CONFIGURE_ARGS+= --disable-crashreporter | 96 | CONFIGURE_ARGS+= --disable-crashreporter | |
97 | CONFIGURE_ARGS+= --disable-necko-wifi | 97 | CONFIGURE_ARGS+= --disable-necko-wifi | |
98 | CONFIGURE_ARGS+= --enable-chrome-format=omni | 98 | CONFIGURE_ARGS+= --enable-chrome-format=omni | |
99 | CONFIGURE_ARGS+= --with-system-webp | 99 | CONFIGURE_ARGS+= --with-system-webp | |
100 | 100 | |||
101 | #CONFIGURE_ARGS+= --enable-readline | 101 | #CONFIGURE_ARGS+= --enable-readline | |
102 | CONFIGURE_ARGS+= --disable-icf | 102 | CONFIGURE_ARGS+= --disable-icf | |
103 | CONFIGURE_ARGS+= --disable-updater | 103 | CONFIGURE_ARGS+= --disable-updater | |
104 | 104 | |||
105 | #CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib | 105 | #CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib | |
106 | 106 | |||
107 | CONFIGURE_ARGS+= --without-wasm-sandboxed-libraries | |||
108 | ||||
107 | SUBST_CLASSES+= fix-paths | 109 | SUBST_CLASSES+= fix-paths | |
108 | SUBST_STAGE.fix-paths= pre-configure | 110 | SUBST_STAGE.fix-paths= pre-configure | |
109 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | 111 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | |
110 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | 112 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | |
111 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | 113 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | |
112 | 114 | |||
113 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | 115 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | |
114 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | 116 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | |
115 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | 117 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | |
116 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | 118 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | |
117 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub | 119 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub | |
118 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub | 120 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub | |
119 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub | 121 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub |
@@ -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 | |||
3 | NetBSD doesn't get along with parallel rust builds (it causes issues | 3 | NetBSD doesn't get along with parallel rust builds (it causes issues | |
4 | with ld.so) which are the default. Force -j1. | 4 | with 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 |
$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@