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 Jan 19 12:06: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-media_ffvpx_libavutil_arm_bswap.h
patch-media_libpng_pngpriv.h
patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
Added Files:
pkgsrc/www/firefox/patches:
patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
Removed Files:
pkgsrc/www/firefox/patches: patch-intl_lwbrk_LineBreaker.cpp
Log Message:
www/firefox: Update to 147.0.1
Changelog:
147.0.1:
Fixed
* Fixed compatibility problems with websites that use the new Compression
Dictionaries technology, such as ChatGPT, by temporarily disabling the
feature. (Bug 2010712)
* Fixed an issue where an unnecessary empty directory was created on Linux
systems. (Bug 2001887)
* Fixed an issue where time formats could cause certain websites to display
incorrectly. (Bug 2010411)
147.0:
New
* WebGPU support is now enabled for devices with Apple Silicon processors on
all supported macOS versions.
* Improved video playback performance on systems with AMD GPUs by enabling
zero-copy playback for hardware-decoded video where supported, bringing
them to parity with Intel and NVIDIA GPUs.
* Firefox now supports the Safe Browsing V5 protocol and is migrating from
Safe Browsing V4 to the local list mode of Safe Browsing V5 protocol.
* Users with Enhanced Tracking Protection (ETP) set to Strict will have local
network access restrictions enabled by default. Firefox will now require
users to explicitly allow public websites to access local network
resources.
* Firefox now supports the Freedesktop.org XDG Base Directory Specification.
* A Picture-in-Picture player window can now optionally be opened
automatically for a video playing in a tab when that tab goes into the
background. A special thanks to volunteer Daniele Ferla for contributing
this feature!
Fixed
* Fixed an issue that prevented some Windows users from selecting a tab when
the cursor was at the top of the screen and the Firefox window was
maximized.
* Fixed a bug that made HTTP/3 requests containing non-UTF-8 header values
time out or fall back to HTTP/2 after a while.
* A draggable button can now be dragged if initiated from the button itself.
* For Linux GNOME Mutter users, window and rendering surface sizes were
updated to match the actual pixel grid so Firefox delivers sharp rendering
on fractionally scaled displays regardless of the actual window size.
* Various security fixes.
Mozilla Foundation Security Advisory 2026-01
#CVE-2026-0877: Mitigation bypass in the DOM: Security component
#CVE-2026-0878: Sandbox escape due to incorrect boundary conditions in the
Graphics: CanvasWebGL component
#CVE-2026-0879: Sandbox escape due to incorrect boundary conditions in the
Graphics component
#CVE-2026-0880: Sandbox escape due to integer overflow in the Graphics
component
#CVE-2026-0881: Sandbox escape in the Messaging System component
#CVE-2026-0882: Use-after-free in the IPC component
#CVE-2026-0883: Information disclosure in the Networking component
#CVE-2026-0884: Use-after-free in the JavaScript Engine component
#CVE-2026-0885: Use-after-free in the JavaScript: GC component
#CVE-2026-0886: Incorrect boundary conditions in the Graphics component
#CVE-2026-0887: Clickjacking issue, information disclosure in the PDF Viewer
component
#CVE-2026-0888: Information disclosure in the XML component
#CVE-2026-0889: Denial-of-service in the DOM: Service Workers component
#CVE-2026-0890: Spoofing issue in the DOM: Copy & Paste and Drag & Drop
component
#CVE-2026-0891: Memory safety bugs fixed in Firefox ESR 140.7, Thunderbird ESR
140.7, Firefox 147 and Thunderbird 147
#CVE-2026-0892: Memory safety bugs fixed in Firefox 147 and Thunderbird 147
To generate a diff of this commit:
cvs rdiff -u -r1.654 -r1.655 pkgsrc/www/firefox/Makefile
cvs rdiff -u -r1.575 -r1.576 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.306 -r1.307 pkgsrc/www/firefox/mozilla-common.mk
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/firefox/files/node-wrapper.sh
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
cvs rdiff -u -r1.3 -r0 \
pkgsrc/www/firefox/patches/patch-intl_lwbrk_LineBreaker.cpp
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h
cvs rdiff -u -r1.7 -r1.8 \
pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
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.654 pkgsrc/www/firefox/Makefile:1.655
--- pkgsrc/www/firefox/Makefile:1.654 Wed Jan 7 08:49:17 2026
+++ pkgsrc/www/firefox/Makefile Mon Jan 19 12:06:03 2026
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.654 2026/01/07 08:49:17 wiz Exp $
+# $NetBSD: Makefile,v 1.655 2026/01/19 12:06:03 ryoon Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH= 146.0
+MOZ_BRANCH= 147.0
MOZ_BRANCH_MINOR= .1
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-146.0.1.tgz
+NODEJSKIT= nodejs-output-147.0.tgz
DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT}
SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL}
Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.575 pkgsrc/www/firefox/distinfo:1.576
--- pkgsrc/www/firefox/distinfo:1.575 Wed Jan 7 00:00:02 2026
+++ pkgsrc/www/firefox/distinfo Mon Jan 19 12:06:03 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.575 2026/01/07 00:00:02 wiz Exp $
+$NetBSD: distinfo,v 1.576 2026/01/19 12:06:03 ryoon Exp $
-BLAKE2s (firefox-146.0.1.source.tar.xz) = 97e4144e54e4f520b637ccd6a3634b8e18c1a2c0ec169482e2e066c586861b2e
-SHA512 (firefox-146.0.1.source.tar.xz) = ae95b86e483febf8dfec8347748dd9048ed7d7f845250e07aa8048e2b351da61f6f3c5f83bb0d0c72e1a75ec61b60e59bbe69639f0f33532910ff8bf5ca07394
-Size (firefox-146.0.1.source.tar.xz) = 648938528 bytes
-BLAKE2s (nodejs-output-146.0.1.tgz) = 325dc3d29b5fa5492bfd77905caf0030db0b61b8b8db6317cf4097d236435714
-SHA512 (nodejs-output-146.0.1.tgz) = 847a32df3759e2650b6897794a66036c99ed727849f39a545671d47385de3610766e64f5f329e5d35d0bdf261d585db1b1bc0815900b3558a4db184833c71699
-Size (nodejs-output-146.0.1.tgz) = 249292 bytes
+BLAKE2s (firefox-147.0.1.source.tar.xz) = c71582ba4614597ceb8150e4dbb21ce63d5d922c4d7d39ed0a09eeee78beac2b
+SHA512 (firefox-147.0.1.source.tar.xz) = f1e1bc486451254f33b000fb4513fd948a5a6e84841980ee767c42d326e1856f44a8437c8fdbff2cb34d177fea2b1907fcd72dd33bcec3f06ddb8d88151853a8
+Size (firefox-147.0.1.source.tar.xz) = 652340680 bytes
+BLAKE2s (nodejs-output-147.0.tgz) = e88c1c8c5117fbfb4fd089267b9a0a6882520ed7bcc1dc494b734b491b448892
+SHA512 (nodejs-output-147.0.tgz) = e99a5de23ad0aa5ab0f040bfe400c1ed210547421fa19026efe280c522773faa8b76106952bbc42c7bb765349c6a3ca9cc3b76d8cfcbbff5d72db65054e44339
+Size (nodejs-output-147.0.tgz) = 249306 bytes
SHA1 (patch-browser_app_profile_firefox.js) = 1eaa674c0aa8279e2f9dc2eda582650a08156d65
SHA1 (patch-build_gn__processor.py) = 078f773104bf4c1b30584564aefe365db6ba6daf
SHA1 (patch-build_moz.configure_init.configure) = 65deb3c233df0aab81eb1fca05d708e5a4ed169a
@@ -14,13 +14,13 @@ SHA1 (patch-config_gcc-stl-wrapper.templ
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_mediacapabilities_MediaCapabilitiesValidation.cpp) = b7f8d8b82e4545b97643fbbea7fa72a4cc2ecaf8
SHA1 (patch-dom_media_webrtc_libwebrtc__overrides_moz.build) = a2ff7cf1e6aaf888ee78581d89c7e658f46c3fcd
SHA1 (patch-dom_webtransport_api_WebTransportDatagramDuplexStream.cpp) = b93b4c6367bd2fb3d1868ab7d97ca56c100be414
SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045
SHA1 (patch-gfx_ots_src_name.cc) = 35ae5b2689eae8fab1ea351612f3628c14001f9e
SHA1 (patch-gfx_skia_skia_src_sksl_codegen_SkSLSPIRVCodeGenerator.cpp) = 3eb9855e20fe8b7784a9620fce4ffb96f4736f82
-SHA1 (patch-intl_lwbrk_LineBreaker.cpp) = 46914fd55257c13021d697cbd309ae4db3b9c029
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_GeckoChildProcessHost.cpp) = 00bd08bb68b9aad3c4478c8849b53341da4a0d29
@@ -30,8 +30,8 @@ SHA1 (patch-js_src_editline_editline.c)
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
-SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = ae89120862442275d6b14446c5a63b0ef570124f
-SHA1 (patch-media_libpng_pngpriv.h) = 8320a1f7534ed5c4914b597bb3d6117d0060318f
+SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = d0bdc30d23447bd56185eb9dc5c86de591f9cc02
+SHA1 (patch-media_libpng_pngpriv.h) = ee952a703ee08e8ff2269c7178e55e00b12faa29
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
@@ -41,9 +41,9 @@ SHA1 (patch-third__party_abseil-cpp_absl
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) = 127284a1a9b6e12581d325f5a5aadae443b0e57b
-SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build) = f53af8e5383f31b5de7df21f80eb53d60c11eae1
+SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build) = da85f4a3e22c4a346f1f8e87ecdc62bf8c0bddd7
SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = 89f8f8eb5dcb877e0c70120f742050f1b32676fb
-SHA1 (patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build) = 9a1ad764d5df7e19da8d370edf12f7ae07e4c8e3
+SHA1 (patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build) = 87fe72745f7a01596b8be70d618491387e1aaa36
SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = a4b04c390f93ffbc79e049f532251bfa00376eff
SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_video__capture__v4l2.cc) = 9f1e606242b2ab2625dabc06f25b593f4721d387
SHA1 (patch-third__party_libwebrtc_modules_video__capture_video__capture__internal__impl__gn_moz.build) = 2a214979769cbf57b1d534610e524138aac7fc2b
Index: pkgsrc/www/firefox/mozilla-common.mk
diff -u pkgsrc/www/firefox/mozilla-common.mk:1.306 pkgsrc/www/firefox/mozilla-common.mk:1.307
--- pkgsrc/www/firefox/mozilla-common.mk:1.306 Thu Dec 25 14:04:26 2025
+++ pkgsrc/www/firefox/mozilla-common.mk Mon Jan 19 12:06:03 2026
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.306 2025/12/25 14:04:26 tsutsui Exp $
+# $NetBSD: mozilla-common.mk,v 1.307 2026/01/19 12:06:03 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -257,7 +257,7 @@ BUILDLINK_API_DEPENDS.libevent+= libeven
# See build/moz.configure/nspr.configure
BUILDLINK_API_DEPENDS.nspr+= nspr>=4.34
.include "../../devel/nspr/buildlink3.mk"
-BUILDLINK_API_DEPENDS.icu+= icu>=76.1
+BUILDLINK_API_DEPENDS.icu+= icu>=78.1
.include "../../textproc/icu/buildlink3.mk"
# See build/moz.configure/nss.configure
BUILDLINK_API_DEPENDS.nss+= nss>=3.118
Index: pkgsrc/www/firefox/files/node-wrapper.sh
diff -u pkgsrc/www/firefox/files/node-wrapper.sh:1.35 pkgsrc/www/firefox/files/node-wrapper.sh:1.36
--- pkgsrc/www/firefox/files/node-wrapper.sh:1.35 Wed Dec 24 15:26:40 2025
+++ pkgsrc/www/firefox/files/node-wrapper.sh Mon Jan 19 12:06:03 2026
@@ -1,6 +1,6 @@
#! /bin/sh
-VERS=v25.2.1
+VERS=v25.3.0
if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then
printf "${VERS}\n"
Index: pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h
diff -u pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.3 pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.4
--- pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.3 Thu Jan 1 16:14:38 2026
+++ pkgsrc/www/firefox/patches/patch-media_ffvpx_libavutil_arm_bswap.h Mon Jan 19 12:06:04 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-media_ffvpx_libavutil_arm_bswap.h,v 1.3 2026/01/01 16:14:38 tnn Exp $
+$NetBSD: patch-media_ffvpx_libavutil_arm_bswap.h,v 1.4 2026/01/19 12:06:04 ryoon Exp $
avutil/arm/bswap.h is preferred over the system's <arm/bswap.h> due to
Firefox's include path order. This breaks <stdlib.h> and others, so
make sure to pull in the system header when this happens.
---- media/ffvpx/libavutil/arm/bswap.h.orig 2025-12-17 16:38:49.000000000 +0000
+--- media/ffvpx/libavutil/arm/bswap.h.orig 2025-12-31 13:17:28.000000000 +0000
+++ media/ffvpx/libavutil/arm/bswap.h
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -26,10 +26,11 @@ make sure to pull in the system header w
#ifdef __ARMCC_VERSION
#if HAVE_ARMV6
-@@ -47,4 +53,6 @@ static av_always_inline av_const unsigne
+@@ -46,5 +52,7 @@ static av_always_inline av_const unsigned av_bswap16(u
+ }
#endif
#endif /* __ARMCC_VERSION */
-
-+#endif /* __aarch64__ */
+
++#endif /* __aarch64__ */
+
#endif /* AVUTIL_ARM_BSWAP_H */
Index: pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h
diff -u pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h:1.7 pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h:1.8
--- pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h:1.7 Tue Apr 16 20:10:33 2024
+++ pkgsrc/www/firefox/patches/patch-media_libpng_pngpriv.h Mon Jan 19 12:06:04 2026
@@ -1,17 +1,16 @@
-$NetBSD: patch-media_libpng_pngpriv.h,v 1.7 2024/04/16 20:10:33 ryoon Exp $
+$NetBSD: patch-media_libpng_pngpriv.h,v 1.8 2026/01/19 12:06:04 ryoon Exp $
Fix _POSIX_SOURCE on SunOS.
---- media/libpng/pngpriv.h.orig 2024-04-05 19:49:16.000000000 +0000
+--- media/libpng/pngpriv.h.orig 2025-12-31 13:17:28.000000000 +0000
+++ media/libpng/pngpriv.h
-@@ -36,8 +36,10 @@
+@@ -47,7 +47,9 @@
* still required (as of 2011-05-02.)
*/
#ifndef _POSIX_SOURCE
+#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
# define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
- #endif
+#endif
+ #endif
#ifndef PNG_VERSION_INFO_ONLY
- /* Standard library headers not required by png.h: */
Index: pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
diff -u pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.6
pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.7
--- pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.6 Fri Sep 26 23:15:49 2025
+++ pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build Mon Jan 19 12:06:04 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.6 2025/09/26 23:15:49 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.7 2026/01/19 12:06:04 ryoon Exp $
* Disable Wayland desktop capture for non-Linux platforms.
Fix segfault under X11.
---- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.orig 2025-09-10 12:09:29.925962441 +0000
+--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.orig 2026-01-03 09:47:00.641014045 +0000
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -414,7 +414,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG
+@@ -408,7 +408,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"]
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
@@ -14,7 +14,7 @@ $NetBSD: patch-third__party_libwebrtc_mo
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
DEFINES["_GNU_SOURCE"] = True
-@@ -464,7 +464,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CO
+@@ -458,7 +458,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_C
"/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
]
@@ -23,7 +23,7 @@ $NetBSD: patch-third__party_libwebrtc_mo
CXXFLAGS += [
"-msse2"
-@@ -492,7 +492,7 @@ if CONFIG["TARGET_CPU"] == "x86" and (CO
+@@ -486,7 +486,7 @@ if CONFIG["TARGET_CPU"] == "x86" and (CONFIG["OS_TARGE
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
]
@@ -32,14 +32,14 @@ $NetBSD: patch-third__party_libwebrtc_mo
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
DEFINES["_GNU_SOURCE"] = True
-@@ -650,6 +650,10 @@ if CONFIG["TARGET_CPU"] == "x86_64" and
+@@ -643,6 +643,10 @@ if CONFIG["TARGET_CPU"] == "x86_64" and CONFIG["MOZ_X1
+ if CONFIG["TARGET_CPU"] == "x86_64" and CONFIG["MOZ_X11"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] ==
"FreeBSD"):
DEFINES["WEBRTC_USE_X11"] = True
-
++
+ CXXFLAGS += [
+ "-msse2"
+ ]
-+
+
OS_LIBS += [
"X11",
- "Xcomposite",
Index: pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
diff -u pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.1 pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.2
--- pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.1 Wed Dec 24 15:26:41 2025
+++ pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build Mon Jan 19 12:06:04 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build,v 1.1 2025/12/24 15:26:41 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build,v 1.2 2026/01/19 12:06:04 ryoon Exp $
---- third_party/libwebrtc/modules/portal/portal_gn/moz.build.orig 2025-12-02 15:14:25.832556602 +0000
+--- third_party/libwebrtc/modules/portal/portal_gn/moz.build.orig 2026-01-02 07:16:24.028920365 +0000
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
-@@ -41,7 +41,8 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
+@@ -38,7 +38,8 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
@@ -10,9 +10,9 @@ $NetBSD: patch-third__party_libwebrtc_mo
+if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
DEFINES["_GNU_SOURCE"] = True
-@@ -67,10 +68,13 @@ LOCAL_INCLUDES += [
+ DEFINES["_LARGEFILE64_SOURCE"] = True
+@@ -62,10 +63,13 @@ LOCAL_INCLUDES += [
]
UNIFIED_SOURCES += [
Added files:
Index: pkgsrc/www/firefox/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
diff -u /dev/null pkgsrc/www/firefox/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp:1.1
--- /dev/null Mon Jan 19 12:06:04 2026
+++ pkgsrc/www/firefox/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp Mon Jan 19 12:06:04 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp,v 1.1 2026/01/19 12:06:04 ryoon Exp $
+
+--- dom/media/mediacapabilities/MediaCapabilitiesValidation.cpp.orig 2026-01-03 09:52:49.089840762 +0000
++++ dom/media/mediacapabilities/MediaCapabilitiesValidation.cpp
+@@ -199,7 +199,7 @@ ValidationResult IsValidVideoConfiguration(const Video
+
+ // Step 1: If framerate is not finite or is not greater than 0,
+ // return false and abort these steps.
+- if (!isfinite(aConfig.mFramerate) || !(aConfig.mFramerate > 0)) {
++ if (!std::isfinite(aConfig.mFramerate) || !(aConfig.mFramerate > 0)) {
+ ValidationResult err = Err(ValidationError::FramerateInvalid);
+ LOG(("[Invalid VideoConfiguration (Framerate, %s) #1] Rejecting '%s'\n",
+ EnumValueToString(err.unwrapErr()),
Home |
Main Index |
Thread Index |
Old Index