pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Update to 102.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d53ad7bda46
branches:  trunk
changeset: 381321:1d53ad7bda46
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jul 04 14:34:07 2022 +0000

description:
firefox: Update to 102.0

Changelog:
New

  * Tired of too many windows crowding your screen? You can now disable
    automatic opening of the download panel every time a new download starts.
    Read more.

  * Firefox now mitigates query parameter tracking when navigating sites in ETP
    strict mode.

Fixed

  * When using a screen reader on Windows, pressing enter to activate an
    element no longer fails or clicks the wrong element and/or another
    application window. For those blind or with very limited vision, this
    technology reads out loud what is on the screen, and users can adapt them
    to their needs (now, on our platform, without errors).

  * Various security fixes.

Changed

  * Improved security by moving audio decoding into a separate process with
    stricter sandboxing, thus improving process isolation.

Enterprise

  * Various bug fixes and new policies have been implemented in the latest
    version of Firefox. You can find more information in the Firefox for
    Enterprise 102 Release Notes.

  * Firefox 102 is the new Extended Support Release (ESR). Firefox 91 ESR goes
    out of support on September 20, 2022. (See the 102 ESR release notes for
    more information)

Developer

  * Developer Information
  * You can now filter style sheets in the Style Editor tab of our developer
    tools

Web Platform

  * TransformStream and ReadableStream.pipeThrough have landed, allowing you to
    pipe from a ReadableStream to a WritableStream, executing a transformation
    on each chunk.

  * ReadableStream, TransformStream, and WritableStream are all transferable
    now.

  * Firefox now supports Content-Security-Policy (CSP) integration with
    WebAssembly. A document with a CSP that restricts scripts will no longer
    execute WebAssembly unless the policy uses 'unsafe-eval' or the new
    'wasm-unsafe-eval' keyword.

Security fixes:
#CVE-2022-34479: A popup window could be resized in a way to overlay the
 address bar with web content
#CVE-2022-34470: Use-after-free in nsSHistory
#CVE-2022-34468: CSP sandbox header without `allow-scripts` can be bypassed via
 retargeted javascript: URI
#CVE-2022-34482: Drag and drop of malicious image could have led to malicious
 executable and potential code execution
#CVE-2022-34483: Drag and drop of malicious image could have led to malicious
 executable and potential code execution
#CVE-2022-34476: ASN.1 parser could have been tricked into accepting malformed
 ASN.1
#CVE-2022-34481: Potential integer overflow in ReplaceElementsAt
#CVE-2022-34474: Sandboxed iframes could redirect to external schemes
#CVE-2022-34469: TLS certificate errors on HSTS-protected domains could be
 bypassed by the user on Firefox for Android
#CVE-2022-34471: Compromised server could trick a browser into an addon
 downgrade
#CVE-2022-34472: Unavailable PAC file resulted in OCSP requests being blocked
#CVE-2022-34478: Microsoft protocols can be attacked if a user accepts a prompt
#CVE-2022-2200: Undesired attributes could be set as part of prototype
 pollution
#CVE-2022-34480: Free of uninitialized pointer in lg_init
#CVE-2022-34477: MediaError message property leaked information on cross-origin
 same-site pages
#CVE-2022-34475: HTML Sanitizer could have been bypassed via same-origin script
 via use tags
#CVE-2022-34473: HTML Sanitizer could have been bypassed via use tags
#CVE-2022-34484: Memory safety bugs fixed in Firefox 102 and Firefox ESR 91.11
#CVE-2022-34485: Memory safety bugs fixed in Firefox 102

diffstat:

 www/firefox/Makefile                                                       |      7 +-
 www/firefox/distinfo                                                       |     14 +-
 www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc |     10 +-
 www/firefox/patches/patch-libwebrtc.diff                                   |  35753 ++++-----
 www/firefox/patches/patch-toolkit_components_terminator_nsTerminator.cpp   |     16 +-
 5 files changed, 17876 insertions(+), 17924 deletions(-)

diffs (truncated from 36797 to 300 lines):

diff -r fc4d869e6e8b -r 1d53ad7bda46 www/firefox/Makefile
--- a/www/firefox/Makefile      Mon Jul 04 08:32:42 2022 +0000
+++ b/www/firefox/Makefile      Mon Jul 04 14:34:07 2022 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.525 2022/07/02 16:53:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.526 2022/07/04 14:34:07 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH=            101.0
-MOZ_BRANCH_MINOR=      .1
+MOZ_BRANCH=            102.0
+MOZ_BRANCH_MINOR=      
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
-PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
diff -r fc4d869e6e8b -r 1d53ad7bda46 www/firefox/distinfo
--- a/www/firefox/distinfo      Mon Jul 04 08:32:42 2022 +0000
+++ b/www/firefox/distinfo      Mon Jul 04 14:34:07 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.470 2022/06/14 16:44:29 ryoon Exp $
+$NetBSD: distinfo,v 1.471 2022/07/04 14:34:07 ryoon Exp $
 
-BLAKE2s (firefox-101.0.1.source.tar.xz) = 8e4588e1557fda73bc529a3f5470f3bcfb06a2ed7efb700f464eaa4350dcb61b
-SHA512 (firefox-101.0.1.source.tar.xz) = 435a7f6013582933e75c41e554a45beda30b5affd7d3ed7d2876026609ba7f17b2c20b507d9d0c9ce2379e335ec09b021257ba30ac55fabf02dca54b03ea70b4
-Size (firefox-101.0.1.source.tar.xz) = 486021240 bytes
+BLAKE2s (firefox-102.0.source.tar.xz) = 2bbcf491aa18e925554759c7c3005c364d3238b29ac55a037f1fb179f7ae1afe
+SHA512 (firefox-102.0.source.tar.xz) = c7dd6d8d74c46573b16d097a5e5d230669e5778cd680b3b6f30510e989d21543138ced3bb013998b76614aa380b28efd8542450c591d8b724e03bd163d012057
+Size (firefox-102.0.source.tar.xz) = 482027632 bytes
 BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9
 SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798
 Size (nodejs-output-95.0.tgz) = 200627 bytes
@@ -15,14 +15,14 @@
 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045
 SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
 SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb
-SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
+SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 298642a3527804115b398fb7904a3596962932e3
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 6cdd0fe60455eab8f9846257c2bfea207f19478b
 SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605
 SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183
 SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba
 SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47
-SHA1 (patch-libwebrtc.diff) = 16f4e68adca7f6dc11cfd527a13b3e50d175d277
+SHA1 (patch-libwebrtc.diff) = 0506b1e8fc0bc42e24f45d13194536aa7ad7eeba
 SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a
 SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a
 SHA1 (patch-media_libcubeb_src_cubeb__jack.cpp) = fc546c5e6582fd5eda64ba83287dfbbb3c9e229f
@@ -36,7 +36,7 @@
 SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4
 SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4
 SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8
-SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3
+SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = bd7b2a0f2407c3ab95515b2f143c41c3ca6fb0c4
 SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 2303b753066298305ccae80d72765dbc4da5e0dc
 SHA1 (patch-toolkit_moz.configure) = 8de54693dc47b0993f220cc5a04af98925de1fb5
 SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662
diff -r fc4d869e6e8b -r 1d53ad7bda46 www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc
--- a/www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc        Mon Jul 04 08:32:42 2022 +0000
+++ b/www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc        Mon Jul 04 14:34:07 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ipc_chromium_src_base_message__pump__libevent.cc,v 1.11 2019/03/19 16:11:28 ryoon Exp $
+$NetBSD: patch-ipc_chromium_src_base_message__pump__libevent.cc,v 1.12 2022/07/04 14:34:08 ryoon Exp $
 
 Allow older libevent
 
---- ipc/chromium/src/base/message_pump_libevent.cc.orig        2019-03-07 16:53:35.000000000 +0000
+--- ipc/chromium/src/base/message_pump_libevent.cc.orig        2022-06-16 21:32:07.000000000 +0000
 +++ ipc/chromium/src/base/message_pump_libevent.cc
-@@ -22,6 +22,7 @@
+@@ -24,6 +24,7 @@
  
  // This macro checks that the _EVENT_SIZEOF_* constants defined in
  // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct.
@@ -12,9 +12,9 @@
  #if defined(_EVENT_SIZEOF_SHORT)
  #  define CHECK_EVENT_SIZEOF(TYPE, type)                \
      static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
-@@ -41,6 +42,7 @@ CHECK_EVENT_SIZEOF(PTHREAD_T, pthread_t)
- CHECK_EVENT_SIZEOF(SHORT, short);
+@@ -44,6 +45,7 @@ CHECK_EVENT_SIZEOF(SHORT, short);
  CHECK_EVENT_SIZEOF(SIZE_T, size_t);
+ CHECK_EVENT_SIZEOF(TIME_T, time_t);
  CHECK_EVENT_SIZEOF(VOID_P, void*);
 +#endif
  
diff -r fc4d869e6e8b -r 1d53ad7bda46 www/firefox/patches/patch-libwebrtc.diff
--- a/www/firefox/patches/patch-libwebrtc.diff  Mon Jul 04 08:32:42 2022 +0000
+++ b/www/firefox/patches/patch-libwebrtc.diff  Mon Jul 04 14:34:07 2022 +0000
@@ -1,47 +1,49 @@
-diff -ur firefox-101.0.1.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-101.0.1/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
---- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build  2022-06-08 23:10:31.000000000 +0900
-_+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-06-12 05:56:24.362902434 +0900
-@@ -67,14 +67,17 @@
-     DEFINES["__STDC_CONSTANT_MACROS"] = True
-     DEFINES["__STDC_FORMAT_MACROS"] = True
- 
--if CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
- 
-     DEFINES["USE_AURA"] = "1"
-     DEFINES["USE_GLIB"] = "1"
-     DEFINES["USE_NSS_CERTS"] = "1"
-     DEFINES["USE_OZONE"] = "1"
-     DEFINES["USE_UDEV"] = True
--    DEFINES["WEBRTC_LINUX"] = True
-+    if CONFIG["OS_TARGET"] == "Linux":
-+        DEFINES["WEBRTC_LINUX"] = True
-+    else:
-+        DEFINES["WEBRTC_BSD"] = True
-     DEFINES["WEBRTC_POSIX"] = True
-     DEFINES["_FILE_OFFSET_BITS"] = "64"
-     DEFINES["_GNU_SOURCE"] = True
-@@ -152,7 +155,7 @@
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
-+if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
-@@ -168,7 +171,7 @@
- 
-     DEFINES["_DEBUG"] = True
- 
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_DEBUG"] = True
- 
-@@ -210,4 +213,13 @@
- 
-     DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
+$NetBSD: patch-libwebrtc.diff,v 1.5 2022/07/04 14:34:08 ryoon Exp $
+
+diff -ur firefox-102.0.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build  2022-06-17 06:35:29.000000000 +0900
+_+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-06-23 07:13:54.673949403 +0900
+@@ -67,14 +67,17 @@
+     DEFINES["__STDC_CONSTANT_MACROS"] = True
+     DEFINES["__STDC_FORMAT_MACROS"] = True
+ 
+-if CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
+ 
+     DEFINES["USE_AURA"] = "1"
+     DEFINES["USE_GLIB"] = "1"
+     DEFINES["USE_NSS_CERTS"] = "1"
+     DEFINES["USE_OZONE"] = "1"
+     DEFINES["USE_UDEV"] = True
+-    DEFINES["WEBRTC_LINUX"] = True
++    if CONFIG["OS_TARGET"] == "Linux":
++        DEFINES["WEBRTC_LINUX"] = True
++    else:
++        DEFINES["WEBRTC_BSD"] = True
+     DEFINES["WEBRTC_POSIX"] = True
+     DEFINES["_FILE_OFFSET_BITS"] = "64"
+     DEFINES["_GNU_SOURCE"] = True
+@@ -153,7 +156,7 @@
+ 
+     DEFINES["_FORTIFY_SOURCE"] = "2"
+ 
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_FORTIFY_SOURCE"] = "2"
+ 
+@@ -169,7 +172,7 @@
+ 
+     DEFINES["_DEBUG"] = True
+ 
+-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_DEBUG"] = True
+ 
+@@ -201,4 +204,13 @@
+         "-msse2"
+     ]
  
 +if CONFIG["CPU_ARCH"] == "x86":
 +    CFLAGS += [
@@ -53,50 +55,50 @@
 +    ]
 +
  Library("resource_adaptation_api_gn")
-diff -ur firefox-101.0.1.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-101.0.1/third_party/libwebrtc/api/array_view_gn/moz.build
---- third_party/libwebrtc/api/array_view_gn/moz.build  2022-06-08 23:10:31.000000000 +0900
-_+++ third_party/libwebrtc/api/array_view_gn/moz.build 2022-06-12 05:56:24.396949966 +0900
-@@ -63,14 +63,17 @@
-     DEFINES["__STDC_CONSTANT_MACROS"] = True
-     DEFINES["__STDC_FORMAT_MACROS"] = True
- 
--if CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
- 
-     DEFINES["USE_AURA"] = "1"
-     DEFINES["USE_GLIB"] = "1"
-     DEFINES["USE_NSS_CERTS"] = "1"
-     DEFINES["USE_OZONE"] = "1"
-     DEFINES["USE_UDEV"] = True
--    DEFINES["WEBRTC_LINUX"] = True
-+    if CONFIG["OS_TARGET"] == "Linux":
-+        DEFINES["WEBRTC_LINUX"] = True
-+    else:
-+        DEFINES["WEBRTC_BSD"] = True
-     DEFINES["WEBRTC_POSIX"] = True
-     DEFINES["_FILE_OFFSET_BITS"] = "64"
-     DEFINES["_GNU_SOURCE"] = True
-@@ -140,7 +143,7 @@
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
-+if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
-@@ -156,7 +159,7 @@
- 
-     DEFINES["_DEBUG"] = True
- 
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_DEBUG"] = True
- 
-@@ -190,4 +193,13 @@
- 
-     DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
+diff -ur firefox-102.0.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-102.0/third_party/libwebrtc/api/array_view_gn/moz.build
+--- third_party/libwebrtc/api/array_view_gn/moz.build  2022-06-17 06:35:22.000000000 +0900
+_+++ third_party/libwebrtc/api/array_view_gn/moz.build 2022-06-23 07:13:54.683864356 +0900
+@@ -63,14 +63,17 @@
+     DEFINES["__STDC_CONSTANT_MACROS"] = True
+     DEFINES["__STDC_FORMAT_MACROS"] = True
+ 
+-if CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
+ 
+     DEFINES["USE_AURA"] = "1"
+     DEFINES["USE_GLIB"] = "1"
+     DEFINES["USE_NSS_CERTS"] = "1"
+     DEFINES["USE_OZONE"] = "1"
+     DEFINES["USE_UDEV"] = True
+-    DEFINES["WEBRTC_LINUX"] = True
++    if CONFIG["OS_TARGET"] == "Linux":
++        DEFINES["WEBRTC_LINUX"] = True
++    else:
++        DEFINES["WEBRTC_BSD"] = True
+     DEFINES["WEBRTC_POSIX"] = True
+     DEFINES["_FILE_OFFSET_BITS"] = "64"
+     DEFINES["_GNU_SOURCE"] = True
+@@ -141,7 +144,7 @@
+ 
+     DEFINES["_FORTIFY_SOURCE"] = "2"
+ 
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_FORTIFY_SOURCE"] = "2"
+ 
+@@ -157,7 +160,7 @@
+ 
+     DEFINES["_DEBUG"] = True
+ 
+-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_DEBUG"] = True
+ 
+@@ -179,4 +182,13 @@
+         "android_support"
+     ]
  
 +if CONFIG["CPU_ARCH"] == "x86":
 +    CFLAGS += [
@@ -108,50 +110,50 @@
 +    ]
 +
  Library("array_view_gn")
-diff -ur firefox-101.0.1.orig/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build firefox-101.0.1/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
---- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build   2022-06-08 23:10:31.000000000 +0900
-_+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build  2022-06-12 05:56:24.439471290 +0900
-@@ -67,14 +67,17 @@
-     DEFINES["__STDC_CONSTANT_MACROS"] = True
-     DEFINES["__STDC_FORMAT_MACROS"] = True
- 
--if CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
- 
-     DEFINES["USE_AURA"] = "1"
-     DEFINES["USE_GLIB"] = "1"
-     DEFINES["USE_NSS_CERTS"] = "1"
-     DEFINES["USE_OZONE"] = "1"



Home | Main Index | Thread Index | Old Index