summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird-esr')
-rw-r--r--mail/thunderbird-esr/Makefile4
-rw-r--r--mail/thunderbird-esr/distinfo6
-rw-r--r--mail/thunderbird-esr/files/patch-bug187405925
-rw-r--r--mail/thunderbird-esr/files/patch-bug187636623
-rw-r--r--mail/thunderbird-esr/files/patch-bug187663235
-rw-r--r--mail/thunderbird-esr/files/patch-rust-1.89.018
-rw-r--r--mail/thunderbird-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp17
7 files changed, 58 insertions, 70 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index fc29b8434d09..cfde70f7c6a0 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -1,5 +1,5 @@
PORTNAME= thunderbird
-DISTVERSION= 140.1.0
+DISTVERSION= 140.3.0
CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source
@@ -8,7 +8,7 @@ DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX}
MAINTAINER= gecko@FreeBSD.org
COMMENT= Mozilla Thunderbird is standalone mail and news that stands above
-WWW= https://www.mozilla.com/thunderbird/
+WWW= https://www.thunderbird.net/
BUILD_DEPENDS= nspr>=4.32:devel/nspr \
nss>=3.112:security/nss \
diff --git a/mail/thunderbird-esr/distinfo b/mail/thunderbird-esr/distinfo
index 4cbdfd090f95..c22bf44468f3 100644
--- a/mail/thunderbird-esr/distinfo
+++ b/mail/thunderbird-esr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752924764
-SHA256 (thunderbird-140.1.0esr.source.tar.xz) = 43f0a68902a9733b8020c3db725d5fa4965044e3d3cc2830d2b054f45b7fc5cb
-SIZE (thunderbird-140.1.0esr.source.tar.xz) = 754033528
+TIMESTAMP = 1757694713
+SHA256 (thunderbird-140.3.0esr.source.tar.xz) = b538c6cde261e06e37e9cedb854c392ab7850aa220f5007c876357b6546418ae
+SIZE (thunderbird-140.3.0esr.source.tar.xz) = 755800156
diff --git a/mail/thunderbird-esr/files/patch-bug1874059 b/mail/thunderbird-esr/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/mail/thunderbird-esr/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date: Tue Feb 6 22:51:27 2024 +0100
-
- switch to -fvisibility flags
-
- this fixes linkage with llvm18 (which does not like the former
- approach via the #pragma in gcc_hidden.h
-
- PR: 276746
- Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
- if target.os != "WINNT":
-- if target.kernel == "Darwin":
-+ if target.kernel == "Darwin" or target.kernel == "FreeBSD":
- return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
- return (
- "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/mail/thunderbird-esr/files/patch-bug1876366 b/mail/thunderbird-esr/files/patch-bug1876366
deleted file mode 100644
index 78483c3fbab7..000000000000
--- a/mail/thunderbird-esr/files/patch-bug1876366
+++ /dev/null
@@ -1,23 +0,0 @@
-commit 46a89fb0319d673b3139a068e3d89aed9f44fc16
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-
- use gdk legacy cursor interface by default
-
- Upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1876366#c16
- hints that we could re-test this once we have GTK 3.24.42 (with the
- now-current gtk3-3.24.41 the original problem is still reproducable,
- but toggling this flag does fix it for me)
-
-diff --git modules/libpref/init/StaticPrefList.yaml modules/libpref/init/StaticPrefList.yaml
-index 835450712a12..f2249006c36d 100644
---- modules/libpref/init/StaticPrefList.yaml
-+++ modules/libpref/init/StaticPrefList.yaml
-@@ -16070,7 +16070,7 @@
- # Whether to use gtk legacy cursor API.
- - name: widget.gtk.legacy-cursors.enabled
- type: bool
-- value: false
-+ value: true
- mirror: always
-
- # Whether to use gtk high contrast themes to disable content styling like on
diff --git a/mail/thunderbird-esr/files/patch-bug1876632 b/mail/thunderbird-esr/files/patch-bug1876632
new file mode 100644
index 000000000000..3932b1deccc9
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-bug1876632
@@ -0,0 +1,35 @@
+commit 4f531ca86d24be5d4de673f6e652ed899151d20c
+Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer>
+Date: Wed Jul 23 22:01:31 2025 +0000
+
+ Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink
+
+ Without the alignment flag the desired address
+ gets randomized by aslr in a way which causes it to not
+ be aligned. Furthermore the TryToAlignChunk almost always
+ fails. With this fix it never gets to TryToAlignChunk
+ because the flag guarantees upfront alignment.
+
+ Differential Revision: https://phabricator.services.mozilla.com/D257824
+
+diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp
+index e790f1784ede..13639c9a6eb4 100644
+--- js/src/gc/Memory.cpp
++++ js/src/gc/Memory.cpp
+@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) {
+ for (size_t i = 1; i <= 1024; ++i) {
+ if (i & 0xf) {
+ uint64_t desired = alignment * GetNumberInRange(minNum, maxNum);
++# if defined(__FreeBSD__) && defined(__aarch64__)
++ int flags = MAP_PRIVATE | MAP_ANON |
++ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment));
++ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length,
++ int(PageAccess::ReadWrite), flags, -1, 0,
++ "js-gc-heap");
++# else
+ region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length);
++
++# endif
+ if (!region) {
+ continue;
+ }
diff --git a/mail/thunderbird-esr/files/patch-rust-1.89.0 b/mail/thunderbird-esr/files/patch-rust-1.89.0
new file mode 100644
index 000000000000..91651c036c7c
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-rust-1.89.0
@@ -0,0 +1,18 @@
+fix build with rust 1.89
+
+cf https://bugzilla.mozilla.org/show_bug.cgi?id=1982003
+
+taken from:
+https://github.com/openbsd/ports/commit/3ef8a2538893109bea8211ef13a870822264e096
+
+--- third_party/rust/allocator-api2/src/stable/vec/mod.rs.orig 2025-08-13 22:43:24.000000000 +0200
++++ third_party/rust/allocator-api2/src/stable/vec/mod.rs 2025-09-01 08:52:19.103780000 +0200
+@@ -51,6 +51,8 @@
+ //!
+ //! [`push`]: Vec::push
+
++#![warn(dangerous_implicit_autorefs)]
++
+ #[cfg(not(no_global_oom_handling))]
+ use core::cmp;
+ use core::cmp::Ordering;
diff --git a/mail/thunderbird-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/mail/thunderbird-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp
deleted file mode 100644
index caac874012c9..000000000000
--- a/mail/thunderbird-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
-index 9ce6af94637c..44165558f7ec 100644
---- toolkit/xre/nsEmbedFunctions.cpp
-+++ toolkit/xre/nsEmbedFunctions.cpp
-@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
- static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
- #endif // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
-
-+#if !defined(XP_FREEBSD)
- exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
- std::move(*crashReporterArg), crashHelperPid);
- MOZ_ASSERT(exceptionHandlerIsSet,
- "Should have been able to set remote exception handler");
-+#endif
-
- if (!exceptionHandlerIsSet) {
- // Bug 684322 will add better visibility into this condition