pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Mon May 18 16:07:04 UTC 2026

Modified Files:
        pkgsrc/www/firefox: Makefile distinfo mozilla-common.mk
        pkgsrc/www/firefox/files: node-wrapper.sh
        pkgsrc/www/firefox/patches: patch-config_gcc-stl-wrapper.template.h
Added Files:
        pkgsrc/www/firefox/patches: patch-ipc_glue_ForkServer.cpp
            patch-js_src_intgemm_moz.build patch-python_sites_build.txt
            patch-python_sites_mach.txt

Log Message:
www/firefox: Update to 150.0.3

* Builds on NetBSD 9 is broken. It is C++ issue in Rust style module.
  It seems that Rust build module does not select newer GCC from
  pkgsrc. I will revisit this later.
* Webcam input is broken under NetBSD-current. It will be fixed in 151.

Changelog:
150.0.3:
Fixed

  * Fixed an issue where characters entered into password fields could appear
    unmasked in print preview and printed pages. (Bug 2037803)

  * Various security fixes.

Security fixes:
Mozilla Foundation Security Advisory 2026-45
#CVE-2026-8388: Incorrect boundary conditions in the JavaScript Engine: JIT
 component
#CVE-2026-8389: JIT miscompilation in the JavaScript Engine: JIT component
#CVE-2026-8390: Use-after-free in the JavaScript: WebAssembly component
#CVE-2026-8391: Other issue in the JavaScript Engine component
#CVE-2026-8401: Sandbox escape in the Profile Backup component

150.0.2:
Fixed

  * Fixed an issue where websites on internal or corporate networks that
    require a login prompt would show a blank page. (Bug 2034752)

  * Fixed an issue that prevented highlighting from working on scanned images
    in the built-in PDF viewer. (Bug 2034980)

  * Fixed an issue where the "New" badge persisted on Split View menu items. (
    Bug 2027793)

  * Fixed an issue that prevented some webcams from working correctly in video
    calls. (Bug 2034722)

  * Fixed an issue where a tab would crash when dragging and dropping nested
    folders onto a webpage. (Bug 2030461)

  * Improved how Firefox displays websites with advanced 3D effects, fixing
    cases where parts of the page could disappear or appear incorrectly. (Bug
    2034283)

  * Fixed an issue that could prevent Firefox??s local backup feature from
    completing successfully. (Bug 2029240)

  * Fixed an issue where the status and navigation bars would flicker or show
    mismatched colors when editing a page??s address. (Bug 2021596)

  * Improved the appearance of search suggestions in the address bar by
    preventing icons from appearing stretched or distorted. (Bug 2035353)

  * Various security fixes.

Security fixes:
Mozilla Foundation Security Advisory 2026-40
#CVE-2026-8090: Use-after-free in the DOM: Networking component
#CVE-2026-8092: Memory safety bugs fixed in Firefox ESR 115.35.2, Firefox ESR
 140.10.2 and Firefox 150.0.2
#CVE-2026-8093: Memory safety bugs fixed in Firefox 150.0.2

150.0.1:
Fixed

  * Fixed an issue where Facebook and other websites might not load properly
    for users with Bitdefender security software installed. (Bug 2034178)

  * Fixed an issue where denying a geolocation permission prompt could cause
    Firefox to show the system permission dialog again on a second attempt. (
    Bug 2034120)

  * Fixed an issue that prevented tabs from being added to some older saved tab
    groups. (Bug 2031961)

  * Fixed a layout issue where some drop-down menus expanded to display all
    list items at once. (Bug 2033117)

  * Fixed an issue where borders and outlines on some page elements disappeared
    when pinch zooming or smart zooming on macOS and Windows. (Bug 2030043)

  * Various security fixes.

Security fixes:
Mozilla Foundation Security Advisory 2026-35
#CVE-2026-7320: Information disclosure due to incorrect boundary conditions in
 the Audio/Video component
#CVE-2026-7322: Memory safety bugs fixed in Firefox ESR 115.35.1, Firefox ESR
 140.10.1 and Firefox 150.0.1
#CVE-2026-7323: Memory safety bugs fixed in Firefox ESR 140.10.1 and Firefox
 150.0.1
#CVE-2026-7324: Memory safety bugs fixed in Firefox 150.0.1

150.0:
New

  * Split View just got better: You can now right-click any link and choose
    Open Link in Split View to open it alongside your current tab. You can also
    search open tabs when creating a split view and quickly reverse tab
    positions using the new Reverse Tabs option in the tab context menu.

  * Share multiple tabs in a single step. Select several tabs, right-click, and
    choose Copy X Links (for Windows and Linux) or choose Share ?? Copy X Links
    (for MacOS). When pasted into other apps that support rich text, links
    include both the page title and the URL for easy reading.

  * You can now use Firefox??s built-in PDF editor to reorder, copy, paste,
    delete, and export pages in a PDF.

  * Try out real-time, private translations in Firefox Desktop with the
    about:translations page. Start typing the word "translate" into the URL bar
    for a quick-action shortcut to the page.

  * Added support for the GTK emoji picker on Linux, allowing users to insert
    emoji using the system shortcut (typically Ctrl+.).

  * Firefox web apps are now available to Windows users who installed Firefox
    through the Microsoft Store.

  * The new Firefox Profile management system is now available to all users,
    including users on Windows 10.

  * Backing up a profile to a file is now available to all Windows 10 and 11
    users, including those who use the new profile management system.

  * Firefox now ships with a new .rpm package for Linux users on Red Hat,
    Fedora, openSUSE, and other RPM-based distributions.

  * Firefox now prompts you to enable location access in Windows settings when
    granting a website permission to use your location, if geolocation hasn't
    already been allowed. This behavior, previously limited to some Windows 11
    versions, now applies to all supported Windows versions.

  * The built-in VPN is now available for users in Canada. Note: This feature
    is not available in enterprise environments.

Fixed

  * Fixed an issue on macOS where, when macOS Lockdown mode is enabled, emoji
    characters are not displayed in web content.

  * Various security fixes.

Security fixes:
Mozilla Foundation Security Advisory 2026-30
#CVE-2026-6746: Use-after-free in the DOM: Core & HTML component
#CVE-2026-6747: Use-after-free in the WebRTC component
#CVE-2026-6748: Uninitialized memory in the Audio/Video: Web Codecs component
#CVE-2026-6749: Information disclosure due to uninitialized memory in the
 Graphics: Canvas2D component
#CVE-2026-6750: Privilege escalation in the Graphics: WebRender component
#CVE-2026-6751: Uninitialized memory in the Audio/Video: Web Codecs component
#CVE-2026-6752: Incorrect boundary conditions in the WebRTC component
#CVE-2026-6753: Incorrect boundary conditions in the WebRTC component
#CVE-2026-6754: Use-after-free in the JavaScript Engine component
#CVE-2026-6755: Mitigation bypass in the DOM: postMessage component
#CVE-2026-6756: Mitigation bypass in Firefox for Android
#CVE-2026-6757: Invalid pointer in the JavaScript: WebAssembly component
#CVE-2026-6758: Use-after-free in the JavaScript: WebAssembly component
#CVE-2026-6759: Use-after-free in the Widget: Cocoa component
#CVE-2026-6760: Mitigation bypass in the Networking: Cookies component
#CVE-2026-6761: Privilege escalation in the Networking component
#CVE-2026-6762: Spoofing issue in the DOM: Core & HTML component
#CVE-2026-6763: Mitigation bypass in the File Handling component
#CVE-2026-6764: Incorrect boundary conditions in the DOM: Device Interfaces
 component
#CVE-2026-6765: Information disclosure in the Form Autofill component
#CVE-2026-6766: Incorrect boundary conditions in the Libraries component in NSS
#CVE-2026-6767: Other issue in the Libraries component in NSS
#CVE-2026-6768: Mitigation bypass in the Networking: Cookies component
#CVE-2026-6769: Privilege escalation in the Debugger component
#CVE-2026-6770: Other issue in the Storage: IndexedDB component
#CVE-2026-6771: Mitigation bypass in the DOM: Security component
#CVE-2026-6772: Incorrect boundary conditions in the Libraries component in NSS
#CVE-2026-6773: Denial-of-service due to integer overflow in the Graphics:
 WebGPU component
#CVE-2026-6774: Mitigation bypass in the DOM: Security component
#CVE-2026-6775: Incorrect boundary conditions in the WebRTC component
#CVE-2026-6776: Incorrect boundary conditions in the WebRTC: Networking
 component
#CVE-2026-6777: Other issue in the Networking: DNS component
#CVE-2026-6778: Invalid pointer in the Audio/Video: Playback component
#CVE-2026-6779: Other issue in the JavaScript Engine component
#CVE-2026-6780: Denial-of-service in the Audio/Video: Playback component
#CVE-2026-6781: Denial-of-service in the Audio/Video: Playback component
#CVE-2026-6782: Information disclosure in the IP Protection component
#CVE-2026-6783: Incorrect boundary conditions, integer overflow in the Audio/
 Video: Playback component
#CVE-2026-7321: Sandbox escape due to incorrect boundary conditions in the
 WebRTC: Networking component
#CVE-2026-8091: Incorrect boundary conditions in the Audio/Video: Playback
 component
#CVE-2026-6784: Memory safety bugs fixed in Firefox 150 and Thunderbird 150
#CVE-2026-6785: Memory safety bugs fixed in Firefox ESR 115.35, Firefox ESR
 140.10, Thunderbird ESR 140.10, Firefox 150 and Thunderbird 150
#CVE-2026-6786: Memory safety bugs fixed in Firefox ESR 140.10, Thunderbird ESR
 140.10, Firefox 150 and Thunderbird 150


To generate a diff of this commit:
cvs rdiff -u -r1.660 -r1.661 pkgsrc/www/firefox/Makefile
cvs rdiff -u -r1.580 -r1.581 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.309 -r1.310 pkgsrc/www/firefox/mozilla-common.mk
cvs rdiff -u -r1.37 -r1.38 pkgsrc/www/firefox/files/node-wrapper.sh
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox/patches/patch-ipc_glue_ForkServer.cpp \
    pkgsrc/www/firefox/patches/patch-js_src_intgemm_moz.build \
    pkgsrc/www/firefox/patches/patch-python_sites_build.txt \
    pkgsrc/www/firefox/patches/patch-python_sites_mach.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/Makefile
diff -u pkgsrc/www/firefox/Makefile:1.660 pkgsrc/www/firefox/Makefile:1.661
--- pkgsrc/www/firefox/Makefile:1.660   Thu Mar 19 14:57:43 2026
+++ pkgsrc/www/firefox/Makefile Mon May 18 16:07:04 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.660 2026/03/19 14:57:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.661 2026/05/18 16:07:04 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH=            148.0
-MOZ_BRANCH_MINOR=      .2
+MOZ_BRANCH=            150.0
+MOZ_BRANCH_MINOR=      .3
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
@@ -11,7 +11,7 @@ MASTER_SITES+=        ${MASTER_SITE_MOZILLA:=fi
 MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
 
-NODEJSKIT=             nodejs-output-148.0.tgz
+NODEJSKIT=             nodejs-output-150.0.3.tgz
 DISTFILES=             ${DEFAULT_DISTFILES} ${NODEJSKIT}
 SITES.${NODEJSKIT}=    ${MASTER_SITE_LOCAL}
 

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.580 pkgsrc/www/firefox/distinfo:1.581
--- pkgsrc/www/firefox/distinfo:1.580   Thu Mar 19 14:57:43 2026
+++ pkgsrc/www/firefox/distinfo Mon May 18 16:07:04 2026
@@ -1,16 +1,16 @@
-$NetBSD: distinfo,v 1.580 2026/03/19 14:57:43 ryoon Exp $
+$NetBSD: distinfo,v 1.581 2026/05/18 16:07:04 ryoon Exp $
 
-BLAKE2s (firefox-148.0.2.source.tar.xz) = d62a7a44e2b492f9b526b1208e2191a70e1a7314b73ee272d01b02d12e15239c
-SHA512 (firefox-148.0.2.source.tar.xz) = 56a93ae5235f38704f2f56b6246daddadd3bcef1db797cca10202fb919ba2f0e1459defaaa41cf188f269108efaef1b76ccbfae33d50ecbd52765176b4320bef
-Size (firefox-148.0.2.source.tar.xz) = 664519028 bytes
-BLAKE2s (nodejs-output-148.0.tgz) = f67838f30f27cd499d638f32ce6271c2bdec15b853b6e39d5a75b8e67a8d119d
-SHA512 (nodejs-output-148.0.tgz) = 003027b283110e1aca1d46ec3f576c7d9d6be03eeead93ffde47cc2ac0f01a533d3409d8caf2671a9473d7479b3d7d61030d287cbbb01480a0668a4fc4d1c40e
-Size (nodejs-output-148.0.tgz) = 249268 bytes
+BLAKE2s (firefox-150.0.3.source.tar.xz) = 2659a96c77521ab1a9d651b1088f55e646b4dd60b8f288f0b6f6da600f4ad0cd
+SHA512 (firefox-150.0.3.source.tar.xz) = 8452da61200f8ee66790d3fff230ca84b2ac9291af2b57e018486c50f938c53c6fb4943fe6cfe1e99b9783466fb00bf707fa006293753ac698618fc1e3b70a4a
+Size (firefox-150.0.3.source.tar.xz) = 709676888 bytes
+BLAKE2s (nodejs-output-150.0.3.tgz) = 3e0e5acaf50c536f28d95cbaa4c62bcbeab7803d4bf95a9a01b2567e8e2c15ab
+SHA512 (nodejs-output-150.0.3.tgz) = f6d10ccf84953cd85b85cb92f1cd57de6de3e100220e9239540dd809299ac5e9d309c8502cf05e0758cf2793bc1da23ebeb297c5787bbfcf242652d6e7292d10
+Size (nodejs-output-150.0.3.tgz) = 247807 bytes
 SHA1 (patch-browser_app_profile_firefox.js) = 1eaa674c0aa8279e2f9dc2eda582650a08156d65
 SHA1 (patch-build_gn__processor.py) = 078f773104bf4c1b30584564aefe365db6ba6daf
 SHA1 (patch-build_moz.configure_init.configure) = 65deb3c233df0aab81eb1fca05d708e5a4ed169a
 SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678
-SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
+SHA1 (patch-config_gcc-stl-wrapper.template.h) = f2d19349e2e93c0f82db0a76124103e6ae6bba9d
 SHA1 (patch-config_makefiles_rust.mk) = 25eb2d4c99ace2b215917490f28ceb90ab90145f
 SHA1 (patch-config_system-headers.mozbuild) = 8a628765291085efe6a22da28c0ff99fbc3c5e6f
 SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
@@ -23,10 +23,12 @@ SHA1 (patch-gfx_ots_src_name.cc) = 35ae5
 SHA1 (patch-gfx_skia_skia_src_sksl_codegen_SkSLSPIRVCodeGenerator.cpp) = 3eb9855e20fe8b7784a9620fce4ffb96f4736f82
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 298642a3527804115b398fb7904a3596962932e3
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = ee40764b100728d8fb73b8c6f1251456e368bd53
+SHA1 (patch-ipc_glue_ForkServer.cpp) = 91d3141795ba19c27c6e46fc205f97bfef1fdd6c
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 00bd08bb68b9aad3c4478c8849b53341da4a0d29
 SHA1 (patch-js-src-jit-arm64-vixl-MozCpu-vixl.cpp) = d90fca47d79551fd74214d47f8184670b901b792
 SHA1 (patch-js_public_Utility.h) = bb5464a0398b91693ab362e6b9b06d48429b9e7d
 SHA1 (patch-js_src_editline_editline.c) = ba44a33cc19d19aeaa777548ac74fc7144ea7d70
+SHA1 (patch-js_src_intgemm_moz.build) = 460d64d188e145dae2a917cef116e0483d86552e
 SHA1 (patch-js_src_jit_FlushICache.cpp) = f5d1fcb391c36a29fb71a78dbf731ee6a1cb17b6
 SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba
 SHA1 (patch-js_src_vm_TypedArrayObject-inl.h) = e7913c8d4b2b05b67040baa64dae62d6ba40390e
@@ -37,6 +39,8 @@ SHA1 (patch-modules_fdlibm_src_math__pri
 SHA1 (patch-netwerk_protocol_http_nsHttpHandler.cpp) = 67493b4635041d21ff9fbfda80b3197fed542a26
 SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 753fd4d62088c870aefe7c4b739286259848446e
 SHA1 (patch-python_mozbuild_mozbuild_backend_recursivemake.py) = 5be4183d9075f5a3a3c6b3e0338473af185fb50e
+SHA1 (patch-python_sites_build.txt) = f60f28480179edb47c8dcf84e3247aa6704c2610
+SHA1 (patch-python_sites_mach.txt) = 4892a2d492b8faf243594e19104ec38c0890ca47
 SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc) = b1067a6804470f7e365f347683b7d505853fd799
 SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc) = f9c44d0d6fd952296f23c24f56053958b30d8e5c
 SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4

Index: pkgsrc/www/firefox/mozilla-common.mk
diff -u pkgsrc/www/firefox/mozilla-common.mk:1.309 pkgsrc/www/firefox/mozilla-common.mk:1.310
--- pkgsrc/www/firefox/mozilla-common.mk:1.309  Thu Feb 26 13:23:09 2026
+++ pkgsrc/www/firefox/mozilla-common.mk        Mon May 18 16:07:04 2026
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.309 2026/02/26 13:23:09 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.310 2026/05/18 16:07:04 ryoon Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -21,6 +21,7 @@ OVERRIDE_GNU_CONFIG_SCRIPTS=  yes
 OVERRIDE_DIRDEPTH=             4
 
 USE_LANGUAGES+=                c c++
+USE_CXX_FEATURES+=     c++20
 
 # XXX: As of 145.0
 GCC_REQD+=             10
@@ -95,6 +96,7 @@ CHECK_PORTABILITY_SKIP+=      ${MOZILLA_DIR}i
 CHECK_PORTABILITY_SKIP+=       ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh
 CHECK_PORTABILITY_SKIP+=       ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh
 CHECK_PORTABILITY_SKIP+=       ${MOZILLA_DIR}third_party/libwebrtc/tools_webrtc/iwyu/apply-iwyu
+CHECK_PORTABILITY_SKIP+=       ${MOZILLA_DIR}third_party/rust/dogear/.github/workflows/upload-to-codecov.sh
 
 CONFIGURE_ARGS+=       --enable-release
 # Disable Rust SIMD option to fix build with lang/rust-1.33.0

Index: pkgsrc/www/firefox/files/node-wrapper.sh
diff -u pkgsrc/www/firefox/files/node-wrapper.sh:1.37 pkgsrc/www/firefox/files/node-wrapper.sh:1.38
--- pkgsrc/www/firefox/files/node-wrapper.sh:1.37       Thu Feb 26 13:23:09 2026
+++ pkgsrc/www/firefox/files/node-wrapper.sh    Mon May 18 16:07:04 2026
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-VERS=v25.6.1
+VERS=v26.1.0
 
 if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then
        printf "${VERS}\n"

Index: pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h
diff -u pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h:1.4 pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h:1.5
--- pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h:1.4      Thu Sep 30 14:18:28 2021
+++ pkgsrc/www/firefox/patches/patch-config_gcc-stl-wrapper.template.h  Mon May 18 16:07:04 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.4 2021/09/30 14:18:28 ryoon Exp $
+$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.5 2026/05/18 16:07:04 ryoon Exp $
 
---- config/gcc-stl-wrapper.template.h.orig     2021-09-04 13:24:51.000000000 +0000
+--- config/gcc-stl-wrapper.template.h.orig     2026-04-15 13:12:19.000000000 +0000
 +++ config/gcc-stl-wrapper.template.h
-@@ -32,8 +32,8 @@
+@@ -27,8 +27,8 @@
  // limits) and bug 1694575 (iosfwd).
  // Please be careful when adding more exceptions, especially regarding
  // the header not directly or indirectly including <new>.
@@ -13,7 +13,7 @@ $NetBSD: patch-config_gcc-stl-wrapper.te
  #endif
  
  #ifndef moz_dont_include_mozalloc_for_cmath
-@@ -55,7 +55,7 @@
+@@ -50,7 +50,7 @@
  // Include mozalloc after the STL header and all other headers it includes
  // have been preprocessed.
  #if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
@@ -22,10 +22,11 @@ $NetBSD: patch-config_gcc-stl-wrapper.te
  #  define MOZ_INCLUDE_MOZALLOC_H
  #  define MOZ_INCLUDE_MOZALLOC_H_FROM_${HEADER}
  #endif
-@@ -84,4 +84,6 @@
+@@ -78,5 +78,7 @@
+ #ifndef mozilla_throw_gcc_h
  #  include "mozilla/throw_gcc.h"
  #endif
- 
-+#undef moz_dont_include_mzalloc_for_${HEADER}
 +
++#undef moz_dont_include_mzalloc_for_${HEADER}
+ 
  #endif  // if mozilla_${HEADER}_h

Added files:

Index: pkgsrc/www/firefox/patches/patch-ipc_glue_ForkServer.cpp
diff -u /dev/null pkgsrc/www/firefox/patches/patch-ipc_glue_ForkServer.cpp:1.1
--- /dev/null   Mon May 18 16:07:04 2026
+++ pkgsrc/www/firefox/patches/patch-ipc_glue_ForkServer.cpp    Mon May 18 16:07:04 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-ipc_glue_ForkServer.cpp,v 1.1 2026/05/18 16:07:04 ryoon Exp $
+
+* Fix build for signal(3).
+
+--- ipc/glue/ForkServer.cpp.orig       2026-04-20 09:24:23.315338652 +0000
++++ ipc/glue/ForkServer.cpp
+@@ -19,6 +19,7 @@
+ #include "nsTraceRefcnt.h"
+ 
+ #include <fcntl.h>
++#include <signal.h>
+ #include <string.h>
+ #include <sys/wait.h>
+ #include <unistd.h>
Index: pkgsrc/www/firefox/patches/patch-js_src_intgemm_moz.build
diff -u /dev/null pkgsrc/www/firefox/patches/patch-js_src_intgemm_moz.build:1.1
--- /dev/null   Mon May 18 16:07:04 2026
+++ pkgsrc/www/firefox/patches/patch-js_src_intgemm_moz.build   Mon May 18 16:07:04 2026
@@ -0,0 +1,49 @@
+$NetBSD: patch-js_src_intgemm_moz.build,v 1.1 2026/05/18 16:07:04 ryoon Exp $
+
+* Disable AVX512.
+
+--- js/src/intgemm/moz.build.orig      2025-11-12 23:22:51.000000000 +0000
++++ js/src/intgemm/moz.build
+@@ -37,24 +37,24 @@ if CONFIG["INTEL_ARCHITECTURE"]:
+         SOURCES[
+             "/third_party/gemmology/kernels/GemmologyEngineAVX2.cpp"
+         ].flags += CONFIG["AVX2_FLAGS"]
+-    if CONFIG["AVXVNNI_FLAGS"]:
+-        DEFINES["USE_AVXVNNI"] = True
+-        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVXVNNI.cpp"]
+-        SOURCES[
+-            "/third_party/gemmology/kernels/GemmologyEngineAVXVNNI.cpp"
+-        ].flags += CONFIG["AVXVNNI_FLAGS"]
+-    if CONFIG["AVX512BW_FLAGS"]:
+-        DEFINES["USE_AVX512BW"] = True
+-        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVX512BW.cpp"]
+-        SOURCES[
+-            "/third_party/gemmology/kernels/GemmologyEngineAVX512BW.cpp"
+-        ].flags += CONFIG["AVX512BW_FLAGS"]
+-    if CONFIG["AVX512VNNI_FLAGS"]:
+-        DEFINES["USE_AVX512VNNI"] = True
+-        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVX512VNNI.cpp"]
+-        SOURCES[
+-            "/third_party/gemmology/kernels/GemmologyEngineAVX512VNNI.cpp"
+-        ].flags += CONFIG["AVX512VNNI_FLAGS"]
++#    if CONFIG["AVXVNNI_FLAGS"]:
++#        DEFINES["USE_AVXVNNI"] = True
++#        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVXVNNI.cpp"]
++#        SOURCES[
++#            "/third_party/gemmology/kernels/GemmologyEngineAVXVNNI.cpp"
++#        ].flags += CONFIG["AVXVNNI_FLAGS"]
++#    if CONFIG["AVX512BW_FLAGS"]:
++#        DEFINES["USE_AVX512BW"] = True
++#        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVX512BW.cpp"]
++#        SOURCES[
++#            "/third_party/gemmology/kernels/GemmologyEngineAVX512BW.cpp"
++#        ].flags += CONFIG["AVX512BW_FLAGS"]
++#    if CONFIG["AVX512VNNI_FLAGS"]:
++#        DEFINES["USE_AVX512VNNI"] = True
++#        SOURCES += ["/third_party/gemmology/kernels/GemmologyEngineAVX512VNNI.cpp"]
++#        SOURCES[
++#            "/third_party/gemmology/kernels/GemmologyEngineAVX512VNNI.cpp"
++#        ].flags += CONFIG["AVX512VNNI_FLAGS"]
+ 
+ 
+ if CONFIG["TARGET_CPU"] == "aarch64":
Index: pkgsrc/www/firefox/patches/patch-python_sites_build.txt
diff -u /dev/null pkgsrc/www/firefox/patches/patch-python_sites_build.txt:1.1
--- /dev/null   Mon May 18 16:07:04 2026
+++ pkgsrc/www/firefox/patches/patch-python_sites_build.txt     Mon May 18 16:07:04 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-python_sites_build.txt,v 1.1 2026/05/18 16:07:04 ryoon Exp $
+
+* We are offline, so do not try to download from pypi.
+  No need to wait a timeout.
+
+--- python/sites/build.txt.orig        2026-04-20 11:41:31.080178018 +0000
++++ python/sites/build.txt
+@@ -1,6 +1,6 @@ pth:third_party/python/vsdownload
+ requires-python:>=3.9
+ pth:third_party/python/vsdownload
+-pypi-optional:taskcluster-taskgraph==20.0.0:toolchain artifacts will not be bootstrapped
++#pypi-optional:taskcluster-taskgraph==20.0.0:toolchain artifacts will not be bootstrapped
+ vendored:testing/web-platform/tests/tools/third_party/h2/src
+ vendored:testing/web-platform/tests/tools/third_party/hpack/src
+ vendored:testing/web-platform/tests/tools/third_party/html5lib
Index: pkgsrc/www/firefox/patches/patch-python_sites_mach.txt
diff -u /dev/null pkgsrc/www/firefox/patches/patch-python_sites_mach.txt:1.1
--- /dev/null   Mon May 18 16:07:04 2026
+++ pkgsrc/www/firefox/patches/patch-python_sites_mach.txt      Mon May 18 16:07:04 2026
@@ -0,0 +1,31 @@
+$NetBSD: patch-python_sites_mach.txt,v 1.1 2026/05/18 16:07:04 ryoon Exp $
+
+* We are offline, so do not try to download from pypi.
+  No need to wait a timeout.
+* Use pyyaml from vendored unconditionally.
+
+--- python/sites/mach.txt.orig 2026-04-20 11:41:50.793315548 +0000
++++ python/sites/mach.txt
+@@ -58,15 +58,16 @@ pth:xpcom/idl-parser
+ pth:xpcom/idl-parser
+ # glean-sdk may not be installable if a wheel isn't available
+ # and it has to be built from source.
+-pypi-optional:glean-sdk==67.1.0:telemetry will not be collected
+-pypi-optional:orjson>=3.10:json operations will be slower in various tools
++#pypi-optional:glean-sdk==67.1.0:telemetry will not be collected
++#pypi-optional:orjson>=3.10:json operations will be slower in various tools
+ # Mach gracefully handles the case where `psutil` is unavailable.
+ # We aren't (yet) able to pin packages in automation, so we have to
+ # support down to the oldest locally-installed version (5.4.2).
+-pypi-optional:psutil>=5.4.2:telemetry will be missing some data
+-pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools
+-pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract
+-vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled
++#pypi-optional:psutil>=5.4.2:telemetry will be missing some data
++#pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools
++#pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract
++#vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled
++vendored:third_party/python/pyyaml/lib/
+ vendored:third_party/python/ansicon
+ vendored:third_party/python/appdirs
+ vendored:third_party/python/async_timeout



Home | Main Index | Thread Index | Old Index