# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/thunderbird/hotfix.patch.musl # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- a/config/system-headers.mozbuild.vanilla 2026-05-13 15:26:57.961382813 +0200 +++ b/config/system-headers.mozbuild 2026-05-13 15:27:05.431064714 +0200 @@ -862,7 +862,6 @@ "sys/shm.h", "sys/siginfo.h", "sys/signal.h", - "sys/single_threaded.h", "sys/socket.h", "sys/sockio.h", "sys/sparc/frame.h", --- a/toolkit/mozapps/update/updater/updater.cpp.vanilla 2024-08-01 22:15:05.881448120 +0200 +++ b/toolkit/mozapps/update/updater/updater.cpp 2024-08-01 22:15:34.312448209 +0200 @@ -107,9 +107,9 @@ # define USE_EXECV #endif -#if defined(XP_OPENBSD) +//#if defined(XP_OPENBSD) # define stat64 stat -#endif +//#endif #if defined(MOZ_VERIFY_MAR_SIGNATURE) && defined(MAR_NSS) # include "nss.h" --- a/third_party/libwebrtc/rtc_base/platform_thread_types.cc.vanilla 2026-05-14 13:29:24.574269026 +0200 +++ b/third_party/libwebrtc/rtc_base/platform_thread_types.cc 2026-05-14 13:29:32.665213403 +0200 @@ -12,7 +12,7 @@ // IWYU pragma: begin_keep #if defined(WEBRTC_LINUX) -#include +//#include #include #include --- thunderbird-150.0.1/third_party/zucchini/chromium/base/files/file_posix.cc.vanilla 2026-05-14 14:18:37.009604710 +0200 +++ thunderbird-150.0.1/third_party/zucchini/chromium/base/files/file_posix.cc 2026-05-14 14:19:37.173985366 +0200 @@ -48,7 +48,7 @@ } int CallFtruncate(PlatformFile file, int64_t length) { -#if BUILDFLAG(IS_BSD) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) +#if 1 || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) static_assert(sizeof(off_t) >= sizeof(int64_t), "off_t is not a 64-bit integer"); return HANDLE_EINTR(ftruncate(file, length)); --- thunderbird-150.0.1/mfbt/SplayTree.h.vanilla 2026-05-14 14:18:02.305099358 +0200 +++ thunderbird-150.0.1/mfbt/SplayTree.h 2026-05-14 14:21:00.968189699 +0200 @@ -10,6 +10,8 @@ #ifndef mozilla_SplayTree_h #define mozilla_SplayTree_h +#include + #include "mozilla/Assertions.h" namespace mozilla {