pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/thunderbird



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Thu Jan 22 19:41:09 UTC 2026

Modified Files:
        pkgsrc/mail/thunderbird: Makefile distinfo mozilla-common.mk
        pkgsrc/mail/thunderbird/patches:
            patch-comm_third__party_openpgp.configure
            patch-config_gcc-stl-wrapper.template.h
            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/mail/thunderbird/patches:
            patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh
            patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp

Log Message:
mail/thunderbird: Update to 147.0

Changelog:
147.0:
What's New

new
Add "Show Full Path" folder pane option for compact view modes

new
Add `mail.useLocalizedFolderNames' to toggle special folder name localization

What's Changed

changed
Special folders are now localized based on a restricted set of names

What's Fixed

fixed
Selected status and priority was not displayed in search widgets

fixed
Compacting multiple folders failed and did not compact

fixed
Resetting manual folder sorting did not work for sub folders

fixed
Unified archive subfolders could show wrong names and no messages

fixed
Folders with deep hierarchy and long folder names could fail to display

fixed
Moving saved search/virtual folder under IMAP could fail

fixed
"Open and Show" for OpenPGP-signed message (.eml) did not work

fixed
"Search Messages" search did not finish due to unparsable local folders

fixed
Compose command line flag no longer worked correctly

fixed
Search for "Attachment" in Settings menu did not find "Files and Attachments"

fixed
Account Hub did not show error message on failure when creating OAuth2 EWS
account

fixed
Thunderbird could crash during exchange address account setup

fixed
Japanese locale users could not create message filters

fixed
Moving virtual folder within maildir based IMAP or local folder could fail

fixed
Thunderbird could crash when marking all messages as read

fixed
Startup could be slow with large number of folders not using subscriptions

fixed
EWS message send that required a password errored instead of prompting

fixed
EWS HTTP 500 backoff errors were not handled gracefully

fixed
SMTP sending could hang when when multiple messages queued for sending

fixed
Thunderbird could crash when emptying EWS trash

fixed
Broken feed icon could prevent updating of feeds

fixed
Calendar did not alert user for connection issues

fixed
Creation of tasks with Start or Due date was not possible

fixed
Visual and UX improvements

fixed
Security fixes

Security fixes:
Mozilla Foundation Security Advisory 2026-04
#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.356 -r1.357 pkgsrc/mail/thunderbird/Makefile
cvs rdiff -u -r1.292 -r1.293 pkgsrc/mail/thunderbird/distinfo
cvs rdiff -u -r1.25 -r1.26 pkgsrc/mail/thunderbird/mozilla-common.mk
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure \
    pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/thunderbird/patches/patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh \
    pkgsrc/mail/thunderbird/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/mail/thunderbird/patches/patch-media_libpng_pngpriv.h \
    pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__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/mail/thunderbird/Makefile
diff -u pkgsrc/mail/thunderbird/Makefile:1.356 pkgsrc/mail/thunderbird/Makefile:1.357
--- pkgsrc/mail/thunderbird/Makefile:1.356      Wed Jan  7 08:47:49 2026
+++ pkgsrc/mail/thunderbird/Makefile    Thu Jan 22 19:41:09 2026
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.356 2026/01/07 08:47:49 wiz Exp $
+# $NetBSD: Makefile,v 1.357 2026/01/22 19:41:09 ryoon Exp $
 
 DISTNAME=      thunderbird-${TB_VER}.source
 PKGNAME=       thunderbird-${TB_VER:S/esr//}
-PKGREVISION=   1
-TB_VER=                146.0.1
+TB_VER=                147.0
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
@@ -58,26 +57,38 @@ CHECK_WRKREF_SKIP+= lib/${MOZILLA_NAME}/
 # updating and verification.
 #
 
-CKSUM_CRATES+= third_party/rust/libc
+CKSUM_CRATES+= comm/third_party/rust/minimal-lexical
 
-# patch-third__party_rust_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs
-#CKSUMS+=      107a4aa396b8383c66e0ace2f941450b4b69146558cdc4d9fbe33eeab51760f1
-#CKSUMS+=      3aa5bbc6bec675641c8cb02342022256435ea4f958bfa3832344dba6847ba5ea
-
-#CKSUM_CRATES+=        third_party/rust/getrandom
-
-# patch-third__party_rust_getrandom_src_lib.rs
-#CKSUMS+=      0e52f6bde42d7bb05c297ce1c25b9879d61b28caba98f6226a152bff538db6c2
-#CKSUMS+=      394425b4ba03c21c494e64d993678f7014575b1e3d590b9ee452b5c2d83ec4ac
-
-#SUBST_CLASSES+=               cksum
-#SUBST_STAGE.cksum=    pre-configure
-#.for crate in ${CKSUM_CRATES}
-#SUBST_FILES.cksum+=   ${crate}/.cargo-checksum.json
-#.endfor
-#.for from to in ${CKSUMS}
-#SUBST_SED.cksum+=     -e 's,${from},${to},g'
-#.endfor
+# touch comm/third_party/rust/minimal-lexical/.gitmodules
+CKSUMS+=       6976207a02c7160a3a1d076c5fae10fe4b78f58cdc0aa66ae47f3855b3c392fb
+CKSUMS+=       e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+
+CKSUM_CRATES+= comm/third_party/rust/dogear
+
+# patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh
+CKSUMS+=       bb2cb096519bc76a5bb4fb217165686b27a6d08920d61dfc0a13d301fbe140c9
+CKSUMS+=       61478eeb1ad8fface3596cedf42bfa4762da19ce84f2f1a33b9197bb93d35262
+
+CKSUM_CRATES+= comm/third_party/rust/sfv
+
+# touch comm/third_party/rust/sfv/.gitmodules
+CKSUMS+=       caa4f75b6a87c4a0f2e7d8d0d5fa2ef3f726fb0ae7797af09bfa3d57c4721148
+CKSUMS+=       e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+
+CKSUM_CRATES+= comm/third_party/rust/glslopt
+
+# touch comm/third_party/rust/glslopt/.gitmodules
+CKSUMS+=       ffc0cce90e856d4f4bdb3bd3c950c9e59501a45ebd5022b91cfe8c07c79ef1ac
+CKSUMS+=       e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+
+SUBST_CLASSES+=                cksum
+SUBST_STAGE.cksum=     pre-configure
+.for crate in ${CKSUM_CRATES}
+SUBST_FILES.cksum+=    ${crate}/.cargo-checksum.json
+.endfor
+.for from to in ${CKSUMS}
+SUBST_SED.cksum+=      -e 's,${from},${to},g'
+.endfor
 
 SUBST_CLASSES+=                netbsdtag
 SUBST_STAGE.netbsdtag= pre-configure
@@ -85,6 +96,9 @@ SUBST_FILES.netbsdtag=        comm/third_party/
 SUBST_SED.netbsdtag=   -e 's/__NetBSD__/__NEVER__/'
 
 post-extract:
+       ${TOUCH} ${WRKSRC}/comm/third_party/rust/minimal-lexical/.gitmodules
+       ${TOUCH} ${WRKSRC}/comm/third_party/rust/sfv/.gitmodules
+       ${TOUCH} ${WRKSRC}/comm/third_party/rust/glslopt/.gitmodules
        #${CP} ${FILESDIR}/cubeb_sun.c ${WRKSRC}/media/libcubeb/src/cubeb_sun.c
 
 pre-patch:

Index: pkgsrc/mail/thunderbird/distinfo
diff -u pkgsrc/mail/thunderbird/distinfo:1.292 pkgsrc/mail/thunderbird/distinfo:1.293
--- pkgsrc/mail/thunderbird/distinfo:1.292      Wed Dec 24 16:47:38 2025
+++ pkgsrc/mail/thunderbird/distinfo    Thu Jan 22 19:41:09 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.292 2025/12/24 16:47:38 ryoon Exp $
+$NetBSD: distinfo,v 1.293 2026/01/22 19:41:09 ryoon Exp $
 
-BLAKE2s (thunderbird-146.0.1.source.tar.xz) = 9c03c8ae25c3313ae889578cd780265f0f2b00d5c9db436d50f07874825c6dac
-SHA512 (thunderbird-146.0.1.source.tar.xz) = 8a3b2de246c7c597574fce596836c7ef7b24bd21573feb15c308003f34b82335ad865aa0f81b24d1669c8023c0448c0e273a63019aab13356b023c2e8adc2c47
-Size (thunderbird-146.0.1.source.tar.xz) = 781793608 bytes
+BLAKE2s (thunderbird-147.0.source.tar.xz) = a9556528a1173a2c833f32c94030f19c23710eabf4babe1c81086492b12e068e
+SHA512 (thunderbird-147.0.source.tar.xz) = d04a135f23572123d5cca41c2611704aa06cb81e0226c89c267dc527f59fb0d9d5d8b8a49cd126626c2fd934624c9d2420ae71dd10a912b3011f3342fbaf7511
+Size (thunderbird-147.0.source.tar.xz) = 780223936 bytes
 SHA1 (patch-browser_app_profile_firefox.js) = 1eaa674c0aa8279e2f9dc2eda582650a08156d65
 SHA1 (patch-build_gn__processor.py) = 078f773104bf4c1b30584564aefe365db6ba6daf
 SHA1 (patch-build_moz.configure_init.configure) = 65deb3c233df0aab81eb1fca05d708e5a4ed169a
@@ -10,11 +10,13 @@ SHA1 (patch-build_moz.configure_rust.con
 SHA1 (patch-comm_mailnews_compose_src_nsMsgCompUtils.cpp) = c3e38828803536879baf2934aa1bfa50cfba0112
 SHA1 (patch-comm_mailnews_search_src_nsMsgSearchNews.cpp) = 84624c6752de1f56848a202b3a2179a2d8098e4e
 SHA1 (patch-comm_third__party_libgcrypt_configure) = c5ca8a8b44c485f81139b54d341ac044189d98d3
-SHA1 (patch-comm_third__party_openpgp.configure) = fdb8e2082092417f21921a1fbecb5036de3b7028
-SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
+SHA1 (patch-comm_third__party_openpgp.configure) = 674e8a741d82f576549aa0bb44465d3a2577a212
+SHA1 (patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh) = 9d243aa5507752404816d38ae132c9fa1d6488f8
+SHA1 (patch-config_gcc-stl-wrapper.template.h) = af24d07b6852caa6f1f2c8f5da3cd31e9446b6cf
 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
@@ -32,8 +34,8 @@ SHA1 (patch-js_src_intgemm_moz.build) = 
 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) = 019677e249e744baea857ca17ef69d977f43b3a4
-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
@@ -44,9 +46,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_video__capture__v4l2.cc) = 9f1e606242b2ab2625dabc06f25b593f4721d387
 SHA1 (patch-third__party_libwebrtc_modules_video__capture_video__capture__internal__impl__gn_moz.build) = 2a214979769cbf57b1d534610e524138aac7fc2b
 SHA1 (patch-third__party_libwebrtc_modules_video__capture_video__capture__options.cc) = e15f7e365ef6d57cd262f920f49c4d73f3a13305

Index: pkgsrc/mail/thunderbird/mozilla-common.mk
diff -u pkgsrc/mail/thunderbird/mozilla-common.mk:1.25 pkgsrc/mail/thunderbird/mozilla-common.mk:1.26
--- pkgsrc/mail/thunderbird/mozilla-common.mk:1.25      Wed Dec 24 16:47:38 2025
+++ pkgsrc/mail/thunderbird/mozilla-common.mk   Thu Jan 22 19:41:09 2026
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.25 2025/12/24 16:47:38 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.26 2026/01/22 19:41:09 ryoon Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -89,7 +89,6 @@ CONFIGURE_ARGS+=      --disable-tests
 CONFIGURE_ARGS+=       --enable-system-pixman
 CONFIGURE_ARGS+=       --with-system-libvpx
 CONFIGURE_ARGS+=       --enable-system-ffi
-#CONFIGURE_ARGS+=      --with-system-icu
 #CONFIGURE_ARGS+=      --with-intl-api
 CONFIGURE_ARGS+=       --without-system-icu
 CONFIGURE_ARGS+=       --with-system-nss

Index: pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure
diff -u pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure:1.1 pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure:1.2
--- pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure:1.1       Fri Nov 14 17:28:39 2025
+++ pkgsrc/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure   Thu Jan 22 19:41:09 2026
@@ -1,18 +1,18 @@
-$NetBSD: patch-comm_third__party_openpgp.configure,v 1.1 2025/11/14 17:28:39 ryoon Exp $
+$NetBSD: patch-comm_third__party_openpgp.configure,v 1.2 2026/01/22 19:41:09 ryoon Exp $
 
 * Pass CC for detecting C++ compiler (GCC/clang).
   A logic in botan/configure.py does not detect c++ from cwrappers correctly.
 * GCC does not accept --target= as argument. Remove it.
 
---- comm/third_party/openpgp.configure.orig    2025-11-12 23:23:21.000000000 +0000
+--- comm/third_party/openpgp.configure.orig    2026-01-08 21:45:29.000000000 +0000
 +++ comm/third_party/openpgp.configure
-@@ -319,8 +319,8 @@ with only_when(in_tree_librnp):
-             )
+@@ -347,8 +347,8 @@ with only_when(in_tree_librnp):
+                     log.info("Botan: failed to inject libstdc++ include dirs: {}".format(e))
  
              botan_flags = [
 +                "--cc={}".format(os.getenv("CC")),
                  "--cc-bin={}".format(cxx_compiler.compiler),
--                "--cc-abi-flags=--target={}".format(target.alias),
+-                "--cc-abi-flags={}".format(" ".join(abi_flags)),
                  "--cpu={}".format(target.cpu),
                  "--os={}".format(botan_os),
                  "--with-build-dir={}".format(botan_objdir),
Index: pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
diff -u pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.1 
pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.2
--- pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build:1.1        Wed Dec 24 16:47:38 2025
+++ pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build    Thu Jan 22 19:41:09 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build,v 1.1 2025/12/24 16:47:38 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build,v 1.2 2026/01/22 19:41:09 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 += [

Index: pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h
diff -u pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h:1.5 pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h:1.6
--- pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h:1.5 Wed Apr 30 03:47:13 2025
+++ pkgsrc/mail/thunderbird/patches/patch-config_gcc-stl-wrapper.template.h     Thu Jan 22 19:41:09 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.5 2025/04/30 03:47:13 ryoon Exp $
+$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.6 2026/01/22 19:41:09 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-01-08 21:44:55.000000000 +0000
 +++ config/gcc-stl-wrapper.template.h
-@@ -32,8 +32,8 @@
+@@ -30,8 +30,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 @@
+@@ -53,7 +53,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 @@
+@@ -81,5 +81,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

Index: pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h
diff -u pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.3 pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.4
--- pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h:1.3 Wed Apr 30 03:47:13 2025
+++ pkgsrc/mail/thunderbird/patches/patch-media_ffvpx_libavutil_arm_bswap.h     Thu Jan 22 19:41:09 2026
@@ -1,10 +1,23 @@
-$NetBSD: patch-media_ffvpx_libavutil_arm_bswap.h,v 1.3 2025/04/30 03:47:13 ryoon Exp $
+$NetBSD: patch-media_ffvpx_libavutil_arm_bswap.h,v 1.4 2026/01/22 19:41:09 ryoon Exp $
 
-Fix NetBSD aarch64 build.
+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-02-21 13:24:25.000000000 +0000
+--- media/ffvpx/libavutil/arm/bswap.h.orig     2025-12-31 13:17:28.000000000 +0000
 +++ media/ffvpx/libavutil/arm/bswap.h
-@@ -23,6 +23,8 @@
+@@ -16,6 +16,10 @@
+  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+  */
+ 
++#if defined(__NetBSD__)
++#include "/usr/include/arm/bswap.h"
++#endif
++
+ #ifndef AVUTIL_ARM_BSWAP_H
+ #define AVUTIL_ARM_BSWAP_H
+ 
+@@ -23,6 +27,8 @@
  #include "config.h"
  #include "libavutil/attributes.h"
  
@@ -13,10 +26,11 @@ Fix NetBSD aarch64 build.
  #ifdef __ARMCC_VERSION
  
  #if HAVE_ARMV6
-@@ -47,4 +49,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/mail/thunderbird/patches/patch-media_libpng_pngpriv.h
diff -u pkgsrc/mail/thunderbird/patches/patch-media_libpng_pngpriv.h:1.4 pkgsrc/mail/thunderbird/patches/patch-media_libpng_pngpriv.h:1.5
--- pkgsrc/mail/thunderbird/patches/patch-media_libpng_pngpriv.h:1.4    Wed Apr 30 03:47:13 2025
+++ pkgsrc/mail/thunderbird/patches/patch-media_libpng_pngpriv.h        Thu Jan 22 19:41:09 2026
@@ -1,17 +1,16 @@
-$NetBSD: patch-media_libpng_pngpriv.h,v 1.4 2025/04/30 03:47:13 ryoon Exp $
+$NetBSD: patch-media_libpng_pngpriv.h,v 1.5 2026/01/22 19:41:09 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/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
diff -u pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.4 
pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.5
--- pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build:1.4    Sat Sep 27 00:55:04 2025
+++ pkgsrc/mail/thunderbird/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build        Thu Jan 22 19:41:09 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.4 2025/09/27 00:55:04 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.5 2026/01/22 19:41:09 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",

Added files:

Index: pkgsrc/mail/thunderbird/patches/patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh
diff -u /dev/null pkgsrc/mail/thunderbird/patches/patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh:1.1
--- /dev/null   Thu Jan 22 19:41:09 2026
+++ pkgsrc/mail/thunderbird/patches/patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh  Thu Jan 22 19:41:09 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-comm_third__party_rust_dogear_.github_workflows_upload-to-codecov.sh,v 1.1 2026/01/22 19:41:09 ryoon Exp $
+
+--- comm/third_party/rust/dogear/.github/workflows/upload-to-codecov.sh.orig   2026-01-14 09:59:10.661689958 +0000
++++ comm/third_party/rust/dogear/.github/workflows/upload-to-codecov.sh
+@@ -37,7 +37,7 @@ mc=
+ 
+ # actions/checkout runs in detached HEAD
+ mc=
+-if [ -n "$pr" ] && [ "$pr" != false ] && [ "$commit_o" == "" ];
++if [ -n "$pr" ] && [ "$pr" != false ] && [ "$commit_o" = "" ];
+ then
+   mc=$(git show --no-patch --format="%P" 2>/dev/null || echo "")
+ 
Index: pkgsrc/mail/thunderbird/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
diff -u /dev/null pkgsrc/mail/thunderbird/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp:1.1
--- /dev/null   Thu Jan 22 19:41:09 2026
+++ pkgsrc/mail/thunderbird/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp   Thu Jan 22 19:41:09 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp,v 1.1 2026/01/22 19:41:09 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