diff options
Diffstat (limited to 'mail/thunderbird-esr')
-rw-r--r-- | mail/thunderbird-esr/Makefile | 5 | ||||
-rw-r--r-- | mail/thunderbird-esr/distinfo | 6 | ||||
-rw-r--r-- | mail/thunderbird-esr/files/patch-bug1876632 | 35 |
3 files changed, 41 insertions, 5 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile index fc29b8434d09..9ef97ee0b292 100644 --- a/mail/thunderbird-esr/Makefile +++ b/mail/thunderbird-esr/Makefile @@ -1,8 +1,9 @@ PORTNAME= thunderbird -DISTVERSION= 140.1.0 +DISTVERSION= 140.1.1 +PORTREVISION= 1 CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ - MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source + MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build2/source PKGNAMESUFFIX= -esr DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX} diff --git a/mail/thunderbird-esr/distinfo b/mail/thunderbird-esr/distinfo index 4cbdfd090f95..2fb4580e622f 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 = 1754416782 +SHA256 (thunderbird-140.1.1esr.source.tar.xz) = 136b160954abe2426ab26e46d35d946207ab5e217ac72d3ff5cb1b87680d4fcd +SIZE (thunderbird-140.1.1esr.source.tar.xz) = 753445400 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; + } |