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 Oct 27 14:24:33 UTC 2025
Modified Files:
pkgsrc/www/firefox: Makefile PLIST distinfo mozilla-common.mk
options.mk
pkgsrc/www/firefox/files: node-wrapper.sh
pkgsrc/www/firefox/patches: patch-browser_app_profile_firefox.js
patch-config_makefiles_rust.mk
patch-ipc_chromium_src_base_platform__thread__posix.cc
patch-ipc_glue_GeckoChildProcessHost.cpp
patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc
Added Files:
pkgsrc/www/firefox/patches: patch-build_gn__processor.py
patch-config_system-headers.mozbuild
patch-memory_build_mozjemalloc__types.h patch-xpcom_ds_nsTArray.h
Removed Files:
pkgsrc/www/firefox/patches:
patch-python_mozbuild_mozbuild_frontend_reader.py
patch-third__party_python_jsonschema_jsonschema_validators.py
Log Message:
www/firefox: Update to 144.0
Changelog:
144.0:
New
* Focus on just one tab in a group without the clutter. Your active tab now
stays in view, keeping things tidy even with the group collapsed.
* We're excited to share another tab groups update that addresses a top
request from our community! You can now drag a tab into a collapsed group
without automatically expanding it. It's a quick way to stay organized
while minimizing visual distractions.
MoveTabCollapsedGroup
* Profile management, now rolling out gradually to users globally over the
next few weeks, helps you protect your privacy and stay focused by
separating your online life into distinct profiles for work, school,
vacation planning, or whatever you choose. You can name your profiles and
customize them with avatars and color themes for easy recognition, then
quickly switch between them while keeping bookmarks, tabs, and browsing
history completely separate. The new Profiles feature is available for
Windows 11, Mac, and Linux users, with Windows 10 support coming soon.
* You can now close a Picture-in-Picture window without pausing the video.
Press Shift + Click on the close button or use Shift + Esc to exit while
keeping playback uninterrupted.
* Logins stored in the Firefox Password Manager are now encrypted on disk
using a modern encryption scheme (AES-256-CBC), replacing the older
3DES-CBC. This change improves local data protection. Logins synced through
Firefox Sync remain end-to-end encrypted and already use AES-256-GCM.
* Visual search powered by Google Lens
With just a right-click on any image, you can now:
* Find similar products, places, or objects
* Copy, translate, or search text from images
* Get inspiration for learning, travel, or shopping
Look for the new "Search Image with Google Lens" option in your
right-click menu (highlighted with a NEW badge at first).
This is a desktop-only feature, rolling out worldwide. Your default search
engine must be set to Google in order to use it.
* Perplexity AI Search in Firefox
On desktop, Firefox now includes Perplexity, an AI-powered answer engine
built into the browser. Perplexity delivers direct, conversational answers
to complex questions, helping you get quick summaries, accurate references,
or creative inspiration without digging through multiple sources. It??s
rolling out worldwide from the address bar via the unified search button.
* The following languages are now available for translation:
+ Azerbaijani
+ Bangla
+ Icelandic
Fixed
* Various security fixes.
* The following languages have improved translation quality:
+ Arabic
+ Bulgarian
+ Catalan
+ Chinese (Simplified)
+ Czech
+ Dutch
+ Estonian
+ Finnish
+ French
+ German
+ Hungarian
+ Italian
+ Japanese
+ Portuguese
+ Persian
+ Spanish
+ Ukrainian
Changed
* On Windows, when opening a link from another application, Firefox will only
use a window on the current virtual desktop or open a new window if needed.
Security fixes:
Mozilla Foundation Security Advisory 2025-81
#CVE-2025-11708: Use-after-free in MediaTrackGraphImpl::GetInstance()
#CVE-2025-11709: Out of bounds read/write in a privileged process triggered by
WebGL textures
#CVE-2025-11710: Cross-process information leaked due to malicious IPC messages
#CVE-2025-11711: Some non-writable Object properties could be modified
#CVE-2025-11716: Sandboxed iframes allowed links to open in external apps
(Android only)
#CVE-2025-11717: The password edit screen was not hidden in Android card view
#CVE-2025-11712: An OBJECT tag type attribute overrode browser behavior on web
resources without a content-type
#CVE-2025-11718: Address bar could be spoofed on Android using visibilitychange
#CVE-2025-11713: Potential user-assisted code execution in ??Copy as cURL??
command
#CVE-2025-11719: Use-after-free caused by the native messaging web extension
API on Windows
#CVE-2025-11720: Spoofing risk in Android custom tabs
#CVE-2025-11714: Memory safety bugs fixed in Firefox ESR 115.29, Firefox ESR
140.4, Thunderbird ESR 140.4, Firefox 144 and Thunderbird 144
#CVE-2025-11715: Memory safety bugs fixed in Firefox ESR 140.4, Thunderbird ESR
140.4, Firefox 144 and Thunderbird 144
#CVE-2025-11721: Memory safety bug fixed in Firefox 144 and Thunderbird 144
To generate a diff of this commit:
cvs rdiff -u -r1.647 -r1.648 pkgsrc/www/firefox/Makefile
cvs rdiff -u -r1.190 -r1.191 pkgsrc/www/firefox/PLIST
cvs rdiff -u -r1.566 -r1.567 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.298 -r1.299 pkgsrc/www/firefox/mozilla-common.mk
cvs rdiff -u -r1.76 -r1.77 pkgsrc/www/firefox/options.mk
cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/firefox/files/node-wrapper.sh
cvs rdiff -u -r1.23 -r1.24 \
pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox/patches/patch-build_gn__processor.py \
pkgsrc/www/firefox/patches/patch-memory_build_mozjemalloc__types.h \
pkgsrc/www/firefox/patches/patch-xpcom_ds_nsTArray.h
cvs rdiff -u -r1.14 -r1.15 \
pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk
cvs rdiff -u -r0 -r1.3 \
pkgsrc/www/firefox/patches/patch-config_system-headers.mozbuild
cvs rdiff -u -r1.13 -r1.14 \
pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
cvs rdiff -u -r1.15 -r1.16 \
pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp
cvs rdiff -u -r1.1 -r0 \
pkgsrc/www/firefox/patches/patch-python_mozbuild_mozbuild_frontend_reader.py \
pkgsrc/www/firefox/patches/patch-third__party_python_jsonschema_jsonschema_validators.py
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc
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.647 pkgsrc/www/firefox/Makefile:1.648
--- pkgsrc/www/firefox/Makefile:1.647 Thu Oct 23 20:39:45 2025
+++ pkgsrc/www/firefox/Makefile Mon Oct 27 14:24:32 2025
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.647 2025/10/23 20:39:45 wiz Exp $
+# $NetBSD: Makefile,v 1.648 2025/10/27 14:24:32 ryoon Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH= 143.0
-MOZ_BRANCH_MINOR= .4
+MOZ_BRANCH= 144.0
+MOZ_BRANCH_MINOR=
DISTNAME= firefox-${FIREFOX_VER}.source
PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
-PKGREVISION= 1
CATEGORIES= www
MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
EXTRACT_SUFX= .tar.xz
-NODEJSKIT= nodejs-output-142.0.1.tgz
+NODEJSKIT= nodejs-output-144.0.tgz
DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT}
SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL}
Index: pkgsrc/www/firefox/PLIST
diff -u pkgsrc/www/firefox/PLIST:1.190 pkgsrc/www/firefox/PLIST:1.191
--- pkgsrc/www/firefox/PLIST:1.190 Tue May 13 20:56:25 2025
+++ pkgsrc/www/firefox/PLIST Mon Oct 27 14:24:32 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.190 2025/05/13 20:56:25 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.191 2025/10/27 14:24:32 ryoon Exp $
bin/firefox
lib/firefox/application.ini
lib/firefox/browser/chrome/icons/default/default128.png
@@ -20,6 +20,7 @@ lib/firefox/liblgpllibs.so
${PLIST.ffvpx}lib/firefox/libmozavcodec.so
${PLIST.ffvpx}lib/firefox/libmozavutil.so
lib/firefox/libmozgtk.so
+lib/firefox/libmozinference.so
lib/firefox/libmozsqlite3.so
${PLIST.wayland}lib/firefox/libmozwayland.so
lib/firefox/libxul.so
Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.566 pkgsrc/www/firefox/distinfo:1.567
--- pkgsrc/www/firefox/distinfo:1.566 Thu Oct 9 14:48:03 2025
+++ pkgsrc/www/firefox/distinfo Mon Oct 27 14:24:32 2025
@@ -1,16 +1,18 @@
-$NetBSD: distinfo,v 1.566 2025/10/09 14:48:03 ryoon Exp $
+$NetBSD: distinfo,v 1.567 2025/10/27 14:24:32 ryoon Exp $
-BLAKE2s (firefox-143.0.4.source.tar.xz) = 62ee73a03fd4f6070867fb7ccc9778d514a13e31f7dee22796f60c2978a50951
-SHA512 (firefox-143.0.4.source.tar.xz) = 2bcbde4e72ea41e9ccc98836901635350b5dc7b50c618e19ab6103a27adc0f017ca3fa7555378c8af6ee1f3a14d02935289fe2b0d35d840d610f5ac07a88e4b6
-Size (firefox-143.0.4.source.tar.xz) = 645169812 bytes
-BLAKE2s (nodejs-output-142.0.1.tgz) = b0b340f8accfc2ff8296298bd8ddd447d278fcc08cc42b1a7f62752542dde80f
-SHA512 (nodejs-output-142.0.1.tgz) = f40201f1fee4db3e8f722ad57637c732c208c7884aa10914931a22427b29958591ce623b94d63776eb6a2a3779ba017c71706df9b39280040f1db166815b8d72
-Size (nodejs-output-142.0.1.tgz) = 245965 bytes
-SHA1 (patch-browser_app_profile_firefox.js) = bc719edef37d18655ba79b030270438ee166fdaf
+BLAKE2s (firefox-144.0.source.tar.xz) = 1a9263fd6383ea40ed94bd6472dff21d008e21120b560282c2dbbecf13c3ebfe
+SHA512 (firefox-144.0.source.tar.xz) = e1f924ed006a31f5333ea6af219c1fb90d4866e5889ac634c324a3e80b042a7e0b2b9aeb798672ea1a434fbf817fc0b82a12ec0fb405a48e3a2ca21cc394445e
+Size (firefox-144.0.source.tar.xz) = 658857488 bytes
+BLAKE2s (nodejs-output-144.0.tgz) = 5c8b90a5d17c56467480bdf0a8f1884d14972c8f4163d293463834721f9a4432
+SHA512 (nodejs-output-144.0.tgz) = 6bb2a8975660c68d37b09da5d3f8f0af9bd9a826ca6cb836ef41ca3e7c0c5a902e37b6cbfac5871177688fc1d808b2e07a4e0d0a705470bfa3e368053bc079fd
+Size (nodejs-output-144.0.tgz) = 248214 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_makefiles_rust.mk) = 3366ab089a23e66230e7e23749c10db38018fdd4
+SHA1 (patch-config_makefiles_rust.mk) = 25eb2d4c99ace2b215917490f28ceb90ab90145f
+SHA1 (patch-config_system-headers.mozbuild) = 8a628765291085efe6a22da28c0ff99fbc3c5e6f
SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
SHA1 (patch-dom_media_webrtc_libwebrtc__overrides_moz.build) = a2ff7cf1e6aaf888ee78581d89c7e658f46c3fcd
SHA1 (patch-dom_webtransport_api_WebTransportDatagramDuplexStream.cpp) = b93b4c6367bd2fb3d1868ab7d97ca56c100be414
@@ -19,8 +21,8 @@ SHA1 (patch-gfx_angle_checkout_src_compi
SHA1 (patch-gfx_ots_src_name.cc) = 35ae5b2689eae8fab1ea351612f3628c14001f9e
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) = 753bb4e90758f5b42a51bbc073b328de673988cf
-SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 63fbee04321f7ade20db4ccc1a1218b848344ce1
+SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = ee40764b100728d8fb73b8c6f1251456e368bd53
+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
@@ -29,15 +31,15 @@ SHA1 (patch-js_src_util_NativeStack.cpp)
SHA1 (patch-js_src_vm_TypedArrayObject-inl.h) = e7913c8d4b2b05b67040baa64dae62d6ba40390e
SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = 019677e249e744baea857ca17ef69d977f43b3a4
SHA1 (patch-media_libpng_pngpriv.h) = 8320a1f7534ed5c4914b597bb3d6117d0060318f
+SHA1 (patch-memory_build_mozjemalloc__types.h) = af87ef935653cb845a6b702af2f5645a6ada27db
SHA1 (patch-modules_fdlibm_src_math__private.h) = e20b6c23011d7123cbbd64a500eb8ce8c426620e
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_mozbuild_mozbuild_frontend_reader.py) = 57cad432ccc18e790e2cf00732f499116c79f4c1
SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc) = 2b5955027add79d1b8709667b0433b2d19fbd1bc
SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc) = f9c44d0d6fd952296f23c24f56053958b30d8e5c
SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4
-SHA1 (patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc) = 47ba1a2b88b3fdfd16cd29da3eb1e4a218ecada8
+SHA1 (patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc) = 927532138175f99f96433d24060f65a2a919d2d1
SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build) = f53af8e5383f31b5de7df21f80eb53d60c11eae1
SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = fc203b7a8c1557303e61cc598dc94c5cccf6f0a4
SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = 8831d477f14fd4f8f735ff0c1a322cba8c70e277
@@ -48,7 +50,6 @@ SHA1 (patch-third__party_libwebrtc_rtc__
SHA1 (patch-third__party_libwebrtc_rtc__base_platform__thread__types.cc) = 8ae75100775037347008d168eedc151e0e993b0f
SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8
SHA1 (patch-third__party_python_dlmanager_check.py) = 69054522d8ced8cb47e65e5a8b1a87ed5ce6708e
-SHA1 (patch-third__party_python_jsonschema_jsonschema_validators.py) = c635f83b803d2c877b720b8c0330e1a5d090511c
SHA1 (patch-third__party_sqlite3_ext_moz.build) = 026483e9cdc61eda80b699978b1677e1b6d3ff6d
SHA1 (patch-third__party_sqlite3_src_moz.build) = b26856a4b87aa12211575d9982f62dc899474b52
SHA1 (patch-third__party_wasm2c_src_c-writer.cc) = 38eb2ee0e00722aa1380540b83648b43723719aa
@@ -57,4 +58,5 @@ SHA1 (patch-toolkit_components_terminato
SHA1 (patch-toolkit_moz.configure) = 1306e7ac3c3939886aff38a58dd3162e6517409b
SHA1 (patch-toolkit_mozapps_installer_packager.mk) = c77481a1f8fe1e237b7fe87e3e586ca886ac1d3d
SHA1 (patch-xpcom_base_nscore.h) = 1ac4d34d3c9e80bc1ac966c6c84cb320bc0fa1ec
+SHA1 (patch-xpcom_ds_nsTArray.h) = d2bd5351a4cd9f933b000cf0fcd9e2f6e339c899
SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 8980398051fa16c7283acb6d323419993cce1420
Index: pkgsrc/www/firefox/mozilla-common.mk
diff -u pkgsrc/www/firefox/mozilla-common.mk:1.298 pkgsrc/www/firefox/mozilla-common.mk:1.299
--- pkgsrc/www/firefox/mozilla-common.mk:1.298 Sat Aug 9 15:42:27 2025
+++ pkgsrc/www/firefox/mozilla-common.mk Mon Oct 27 14:24:32 2025
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.298 2025/08/09 15:42:27 gutteridge Exp $
+# $NetBSD: mozilla-common.mk,v 1.299 2025/10/27 14:24:32 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -203,6 +203,7 @@ CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js
CONFIGURE_ENV+= CPP=${CPP:Q}
ALL_ENV+= SHELL=${CONFIG_SHELL:Q}
+ALL_ENV+= MOZ_APP_NAME=${MOZILLA}
# Build outside ${WRKSRC}
# Try to avoid conflict with config/makefiles/xpidl/Makefile.in
@@ -283,6 +284,8 @@ RUST_REQ= 1.82.0
.include "../../x11/libXtst/buildlink3.mk"
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.40
.include "../../x11/pixman/buildlink3.mk"
+BUILDLINK_API_DEPENDS.at-spi2-core+= at-spi2-core>=2.58.1
+.include "../../devel/at-spi2-core/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
PLIST_VARS+= wayland
.if ${PKG_BUILD_OPTIONS.gtk3:Mwayland}
Index: pkgsrc/www/firefox/options.mk
diff -u pkgsrc/www/firefox/options.mk:1.76 pkgsrc/www/firefox/options.mk:1.77
--- pkgsrc/www/firefox/options.mk:1.76 Tue Oct 1 12:47:18 2024
+++ pkgsrc/www/firefox/options.mk Mon Oct 27 14:24:32 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.76 2024/10/01 12:47:18 ryoon Exp $
+# $NetBSD: options.mk,v 1.77 2025/10/27 14:24:32 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -40,6 +40,7 @@ CONFIGURE_ARGS+= --enable-debug="-g -Og"
CONFIGURE_ARGS+= --disable-optimize
CONFIGURE_ARGS+= --enable-debug-js-modules
CONFIGURE_ARGS+= --disable-install-strip
+CPPFLAGS+= -DXXH_NO_INLINE_HINTS
.else
. if !empty(PKG_OPTIONS:Mdebug-info)
CONFIGURE_ARGS+= --enable-debug-symbols
Index: pkgsrc/www/firefox/files/node-wrapper.sh
diff -u pkgsrc/www/firefox/files/node-wrapper.sh:1.33 pkgsrc/www/firefox/files/node-wrapper.sh:1.34
--- pkgsrc/www/firefox/files/node-wrapper.sh:1.33 Fri Aug 29 11:20:15 2025
+++ pkgsrc/www/firefox/files/node-wrapper.sh Mon Oct 27 14:24:32 2025
@@ -1,6 +1,6 @@
#! /bin/sh
-VERS=v24.6.0
+VERS=v24.10.0
if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then
printf "${VERS}\n"
Index: pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js
diff -u pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.23 pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.24
--- pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.23 Sat Apr 6 08:53:35 2024
+++ pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js Mon Oct 27 14:24:33 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-browser_app_profile_firefox.js,v 1.23 2024/04/06 08:53:35 ryoon Exp $
+$NetBSD: patch-browser_app_profile_firefox.js,v 1.24 2025/10/27 14:24:33 ryoon Exp $
This patch modifies default Firefox settings - see the comments above
each one.
---- browser/app/profile/firefox.js.orig 2024-03-08 13:19:26.000000000 +0000
+--- browser/app/profile/firefox.js.orig 2025-10-03 13:17:55.000000000 +0000
+++ browser/app/profile/firefox.js
-@@ -2461,6 +2461,39 @@ pref("app.normandy.onsync_skew_sec", 600
+@@ -2842,6 +2842,39 @@ pref("app.normandy.onsync_skew_sec", 600
pref("toolkit.coverage.enabled", false);
pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org");
Index: pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk
diff -u pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.14 pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.15
--- pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.14 Wed Apr 30 03:10:40 2025
+++ pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk Mon Oct 27 14:24:33 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-config_makefiles_rust.mk,v 1.14 2025/04/30 03:10:40 ryoon Exp $
+$NetBSD: patch-config_makefiles_rust.mk,v 1.15 2025/10/27 14:24:33 ryoon Exp $
NetBSD doesn't get along with parallel rust builds (it causes issues
with ld.so) which are the default. Force -j1.
@@ -6,7 +6,7 @@ with ld.so) which are the default. Force
Use less memory to fix build under NetBSD/i386.
From: https://bugzilla.mozilla.org/show_bug.cgi?id=1644409
---- config/makefiles/rust.mk.orig 2025-02-21 13:24:16.000000000 +0000
+--- config/makefiles/rust.mk.orig 2025-10-03 13:17:55.000000000 +0000
+++ config/makefiles/rust.mk
@@ -60,6 +60,9 @@ ifdef MOZ_TSAN
cargo_build_flags += -Zbuild-std=std,panic_abort
@@ -18,12 +18,13 @@ From: https://bugzilla.mozilla.org/show_
rustflags_sancov =
ifndef MOZ_TSAN
-@@ -101,7 +104,7 @@ ifndef rustflags_sancov
+@@ -101,7 +104,8 @@ ifndef rustflags_sancov
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
ifndef MOZ_CODE_COVERAGE
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
-cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat)
+cargo_rustc_flags += -Clto=thin
++export CARGO_PROFILE_RELEASE_LTO=thin
endif
# We need -Cembed-bitcode=yes for all crates when using -Clto.
RUSTFLAGS += -Cembed-bitcode=yes
Index: pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
diff -u pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc:1.13 pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc:1.14
--- pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc:1.13 Thu Aug 3 22:02:33 2023
+++ pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc Mon Oct 27 14:24:33 2025
@@ -1,7 +1,6 @@
-$NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.13 2023/08/03 22:02:33 ryoon Exp $
+$NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.14 2025/10/27 14:24:33 ryoon Exp $
* Support NetBSD
-* Support Solaris (we can't rely on pthread_setname_np so ignore it).
--- ipc/chromium/src/base/platform_thread_posix.cc.orig 2023-07-20 18:06:23.000000000 +0000
+++ ipc/chromium/src/base/platform_thread_posix.cc
Index: pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp
diff -u pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp:1.15 pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp:1.16
--- pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp:1.15 Tue Sep 5 14:08:39 2023
+++ pkgsrc/www/firefox/patches/patch-ipc_glue_GeckoChildProcessHost.cpp Mon Oct 27 14:24:33 2025
@@ -1,6 +1,5 @@
-$NetBSD: patch-ipc_glue_GeckoChildProcessHost.cpp,v 1.15 2023/09/05 14:08:39 ryoon Exp $
+$NetBSD: patch-ipc_glue_GeckoChildProcessHost.cpp,v 1.16 2025/10/27 14:24:33 ryoon Exp $
-* Support Solaris
* Fix NetBSD linking
--- ipc/glue/GeckoChildProcessHost.cpp.orig 2023-08-17 21:21:29.000000000 +0000
Index: pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc
diff -u pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc:1.3
pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc:1.4
--- pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc:1.3 Sat Jul 26 14:12:54 2025
+++ pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc Mon Oct 27 14:24:33 2025
@@ -1,17 +1,17 @@
-$NetBSD: patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc,v 1.3 2025/07/26 14:12:54 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc,v 1.4 2025/10/27 14:24:33 ryoon Exp $
---- third_party/libwebrtc/modules/audio_device/audio_device_impl.cc.orig 2025-05-21 12:45:39.616635762 +0000
+--- third_party/libwebrtc/modules/audio_device/audio_device_impl.cc.orig 2025-10-03 13:18:12.000000000 +0000
+++ third_party/libwebrtc/modules/audio_device/audio_device_impl.cc
-@@ -28,7 +28,7 @@
- #include <stdlib.h>
-
- #include "sdk/android/native_api/audio_device_module/audio_device_android.h"
+@@ -33,7 +33,7 @@
+ #if defined(WEBRTC_WINDOWS_CORE_AUDIO_BUILD)
+ #include "modules/audio_device/win/audio_device_core_win.h"
+ #endif
-#elif defined(WEBRTC_LINUX)
+#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD)
#if defined(WEBRTC_ENABLE_LINUX_ALSA)
#include "modules/audio_device/linux/audio_device_alsa_linux.h"
#endif
-@@ -155,6 +155,11 @@ int32_t AudioDeviceModuleImpl::CheckPlat
+@@ -151,6 +151,11 @@ int32_t AudioDeviceModuleImpl::CheckPlat
#elif defined(WEBRTC_FUCHSIA)
platform = kPlatformFuchsia;
RTC_LOG(LS_INFO) << "current platform is Fuchsia";
@@ -23,7 +23,7 @@ $NetBSD: patch-third__party_libwebrtc_mo
#endif
if (platform == kPlatformNotSupported) {
RTC_LOG(LS_ERROR)
-@@ -207,7 +212,7 @@ int32_t AudioDeviceModuleImpl::CreatePla
+@@ -204,7 +209,7 @@ int32_t AudioDeviceModuleImpl::CreatePla
// 'rtc_include_pulse_audio' build flag.
// TODO(bugs.webrtc.org/9127): improve support and make it more clear that
// PulseAudio is the default selection.
Added files:
Index: pkgsrc/www/firefox/patches/patch-build_gn__processor.py
diff -u /dev/null pkgsrc/www/firefox/patches/patch-build_gn__processor.py:1.1
--- /dev/null Mon Oct 27 14:24:33 2025
+++ pkgsrc/www/firefox/patches/patch-build_gn__processor.py Mon Oct 27 14:24:33 2025
@@ -0,0 +1,46 @@
+$NetBSD: patch-build_gn__processor.py,v 1.1 2025/10/27 14:24:33 ryoon Exp $
+
+--- build/gn_processor.py.orig 2025-10-03 13:17:56.000000000 +0000
++++ build/gn_processor.py
+@@ -190,6 +190,8 @@ def filter_gn_config(path, gn_result, sa
+ "mac": "Darwin",
+ "openbsd": "OpenBSD",
+ "win": "WINNT",
++ "freebsd": "FreeBSD",
++ "netbsd": "NetBSD",
+ }
+
+ mozbuild_args = {
+@@ -810,17 +812,17 @@ def main():
+
+ vars_set = []
+ for is_debug in (True, False):
+- for target_os in ("android", "linux", "mac", "openbsd", "win"):
++ for target_os in ("android", "linux", "mac", "openbsd", "win", "freebsd", "netbsd"):
+ target_cpus = ["x64"]
+- if target_os in ("android", "linux", "mac", "win", "openbsd"):
++ if target_os in ("android", "linux", "mac", "win", "openbsd", "freebsd", "netbsd"):
+ target_cpus.append("arm64")
+- if target_os in ("android", "linux"):
++ if target_os in ("android", "linux", "freebsd", "netbsd"):
+ target_cpus.append("arm")
+- if target_os in ("android", "linux", "win"):
++ if target_os in ("android", "linux", "win", "freebsd", "netbsd"):
+ target_cpus.append("x86")
+- if target_os in ("linux", "openbsd"):
++ if target_os in ("linux", "openbsd", "freebsd", "netbsd"):
+ target_cpus.append("riscv64")
+- if target_os == "linux":
++ if target_os in ("linux", "openbsd", "freebsd", "netbsd"):
+ target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"])
+ for target_cpu in target_cpus:
+ vars = {
+@@ -834,7 +836,7 @@ def main():
+ vars["ozone_platform_x11"] = enable_x11
+ vars_set.append(vars.copy())
+ else:
+- if target_os == "openbsd":
++ if target_os in ("openbsd", "freebsd", "netbsd"):
+ vars["ozone_platform_x11"] = True
+ vars_set.append(vars)
+
Index: pkgsrc/www/firefox/patches/patch-memory_build_mozjemalloc__types.h
diff -u /dev/null pkgsrc/www/firefox/patches/patch-memory_build_mozjemalloc__types.h:1.1
--- /dev/null Mon Oct 27 14:24:33 2025
+++ pkgsrc/www/firefox/patches/patch-memory_build_mozjemalloc__types.h Mon Oct 27 14:24:33 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-memory_build_mozjemalloc__types.h,v 1.1 2025/10/27 14:24:33 ryoon Exp $
+
+* Try to fix build with mozilla-jemalloc option.
+
+--- memory/build/mozjemalloc_types.h.orig 2025-10-09 16:40:29.000000000 +0000
++++ memory/build/mozjemalloc_types.h
+@@ -50,11 +50,13 @@
+ extern "C" {
+ #endif
+
+-#ifndef MALLOC_USABLE_SIZE_CONST_PTR
+-# define MALLOC_USABLE_SIZE_CONST_PTR const
++#ifdef MALLOC_USABLE_SIZE_CONST_PTR
++# define MALLOC_USABLE_SIZE_CONST_PTR_CONST const
++#else
++# define MALLOC_USABLE_SIZE_CONST_PTR_CONST
+ #endif
+
+-typedef MALLOC_USABLE_SIZE_CONST_PTR void* usable_ptr_t;
++typedef MALLOC_USABLE_SIZE_CONST_PTR_CONST void* usable_ptr_t;
+
+ typedef size_t arena_id_t;
+
Index: pkgsrc/www/firefox/patches/patch-xpcom_ds_nsTArray.h
diff -u /dev/null pkgsrc/www/firefox/patches/patch-xpcom_ds_nsTArray.h:1.1
--- /dev/null Mon Oct 27 14:24:33 2025
+++ pkgsrc/www/firefox/patches/patch-xpcom_ds_nsTArray.h Mon Oct 27 14:24:33 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-xpcom_ds_nsTArray.h,v 1.1 2025/10/27 14:24:33 ryoon Exp $
+
+* Fix segfault of about:newtab with web search form.
+ Fix compililation by GCC (including 14 or earlier).
+ From upstream: 449aa2cf94274a1ffbf006027ee686990b813219
+
+--- xpcom/ds/nsTArray.h.orig 2025-10-24 00:10:00.574322510 +0000
++++ xpcom/ds/nsTArray.h
+@@ -2972,7 +2972,7 @@ class MOZ_NON_MEMMOVABLE MOZ_GSL_OWNER A
+ char mStorage[sizeof(value_type) * N];
+ };
+ AutoBuffer() : mHdr{.mLength = 0, .mCapacity = N, .mIsAutoArray = true} {}
+- ~AutoBuffer() {}
++ ~AutoBuffer() = default;
+ } mAutoBuf;
+ static_assert(offsetof(AutoBuffer, mStorage) == sizeof(nsTArrayHeader),
+ "Shouldn't have padding");
Index: pkgsrc/www/firefox/patches/patch-config_system-headers.mozbuild
diff -u /dev/null pkgsrc/www/firefox/patches/patch-config_system-headers.mozbuild:1.3
--- /dev/null Mon Oct 27 14:24:33 2025
+++ pkgsrc/www/firefox/patches/patch-config_system-headers.mozbuild Mon Oct 27 14:24:33 2025
@@ -0,0 +1,22 @@
+$NetBSD: patch-config_system-headers.mozbuild,v 1.3 2025/10/27 14:24:33 ryoon Exp $
+
+* sys/single_threaded.h is only for Linux.
+
+--- config/system-headers.mozbuild.orig 2025-10-06 13:27:29.080303273 +0000
++++ config/system-headers.mozbuild
+@@ -865,7 +865,6 @@ system_headers = [
+ "sys/shm.h",
+ "sys/siginfo.h",
+ "sys/signal.h",
+- "sys/single_threaded.h",
+ "sys/socket.h",
+ "sys/sockio.h",
+ "sys/sparc/frame.h",
+@@ -1377,6 +1376,7 @@ if CONFIG["MOZ_WAYLAND"]:
+ if CONFIG["OS_TARGET"] in ("Android", "Linux", "FreeBSD"):
+ system_headers += [
+ "sys/auxv.h",
++ "sys/single_threaded.h",
+ ]
+
+ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"].startswith("mips"):
Home |
Main Index |
Thread Index |
Old Index