thunderbird-latest: pull a patch to fix build with rustc 1.89
Upstream hasn't fully resolved this, and I'm not sure how thunderbird-esr 140 will be around this, so let's go simple for now. No firefox version seems affected.
This commit is contained in:
@@ -48,6 +48,13 @@ let
|
||||
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
|
||||
(if lib.versionOlder version "140" then ./no-buildconfig.patch else ./no-buildconfig-tb140.patch)
|
||||
]
|
||||
++ lib.optional (lib.versionAtLeast version "140") (fetchpatch2 {
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1982003
|
||||
name = "rustc-1.89.patch";
|
||||
url = "https://raw.githubusercontent.com/openbsd/ports/3ef8a2538893109bea8211ef13a870822264e096/mail/mozilla-thunderbird/patches/patch-third_party_rust_allocator-api2_src_stable_vec_mod_rs";
|
||||
extraPrefix = "";
|
||||
hash = "sha256-eL+RNVLMkj8x/8qQJVUFHDdDpS0ahV1XEN1L0reaYG4=";
|
||||
})
|
||||
++ lib.optionals (lib.versionOlder version "139") [
|
||||
# clang-19 fixes for char_traits build issue
|
||||
# https://github.com/rnpgp/rnp/pull/2242/commits/e0790a2c4ff8e09d52522785cec1c9db23d304ac
|
||||
|
||||
Reference in New Issue
Block a user