diff --git a/srcpkgs/thunderbird/patches/flac-no-ffvpx.patch b/srcpkgs/thunderbird/patches/flac-no-ffvpx.patch index 2e475e8c694..439f9edc665 100644 --- a/srcpkgs/thunderbird/patches/flac-no-ffvpx.patch +++ b/srcpkgs/thunderbird/patches/flac-no-ffvpx.patch @@ -1,10 +1,6 @@ -Enable FLAC on platforms without ffvpx like powerpc* - -diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp -index 53fc3c9937f7..b23771ab80fa 100644 --- a/dom/media/flac/FlacDecoder.cpp +++ b/dom/media/flac/FlacDecoder.cpp -@@ -7,6 +7,7 @@ +@@ -7,11 +7,22 @@ #include "FlacDecoder.h" #include "MediaContainerType.h" #include "mozilla/StaticPrefs_media.h" @@ -12,13 +8,19 @@ index 53fc3c9937f7..b23771ab80fa 100644 namespace mozilla { -@@ -14,5 +15,9 @@ namespace mozilla { - bool FlacDecoder::IsEnabled() { - #ifdef MOZ_FFVPX - return StaticPrefs::media_flac_enabled(); -+#elif defined(MOZ_FFMPEG) -+ RefPtr platform = new PDMFactory(); + /* static */ +-bool FlacDecoder::IsEnabled() { return StaticPrefs::media_flac_enabled(); } ++bool FlacDecoder::IsEnabled() { ++#ifdef MOZ_FFVPX ++ return StaticPrefs::media_flac_enabled(); ++#elif defined(MOZ_FFVPX) ++ RefPtr platform = new PDMFactory(); + return StaticPrefs::media_flac_enabled() && -+ platform->SupportsMimeType("audio/flac"_ns); - #else - return false; ++ platform->SupportMimeType("audio/flac"_ns); ++#else ++ return false; ++#endif ++} + + /* static */ + bool FlacDecoder::IsSupportedType(const MediaContainerType& aContainerType) { diff --git a/srcpkgs/thunderbird/patches/sandbox-largefile.patch b/srcpkgs/thunderbird/patches/sandbox-largefile.patch index 6ee7f3a8215..b49d1b872e4 100644 --- a/srcpkgs/thunderbird/patches/sandbox-largefile.patch +++ b/srcpkgs/thunderbird/patches/sandbox-largefile.patch @@ -1,17 +1,18 @@ ---- a/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:41:14.556378950 +0100 -+++ b/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:40:23.595806444 +0100 -@@ -68,7 +68,13 @@ +--- a/security/sandbox/linux/SandboxFilter.cpp ++++ b/security/sandbox/linux/SandboxFilter.cpp +@@ -77,10 +77,12 @@ using namespace sandbox::bpf_dsl; - // The headers define O_LARGEFILE as 0 on x86_64, but we need the + // The GNU libc headers define O_LARGEFILE as 0 on x86_64, but we need the // actual value because it shows up in file flags. --#define O_LARGEFILE_REAL 00100000 +-#if !defined(O_LARGEFILE) || O_LARGEFILE == 0 +-# define O_LARGEFILE_REAL 00100000 +#if defined(__x86_64__) || defined(__i386__) || defined(__mips__) +#define O_LARGEFILE_REAL 0100000 +#elif defined(__powerpc__) +#define O_LARGEFILE_REAL 0200000 -+#else + #else +-# define O_LARGEFILE_REAL O_LARGEFILE +#define O_LARGEFILE_REAL O_LARGEFILE -+#endif + #endif // Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751. - #define FMODE_NONOTIFY 0x4000000 diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template index 7e32da62f45..7a8afd5d325 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -3,15 +3,15 @@ # THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/thunderbird-i18n". # pkgname=thunderbird -version=115.12.2 +version=128.2.3 revision=1 build_helper="rust" short_desc="Standalone Mail/News reader" maintainer="dataCobra " license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.thunderbird.net/" -distfiles="${MOZILLA_SITE}/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz" -checksum=6378a0dbe8d785f58ab9778a507e36c33a5f869ae1a670638e27787b9864e638 +distfiles="${MOZILLA_SITE}/thunderbird/releases/${version}esr/source/thunderbird-${version}esr.source.tar.xz" +checksum=7ad90cbceb74ba0c7fe466a8032bebeaf29c97d7a48eb7c67c201dadc204dcaa lib32disabled=yes