diff --git a/mozilla-1533969.patch b/mozilla-1533969.patch new file mode 100644 index 0000000..f84d77a --- /dev/null +++ b/mozilla-1533969.patch @@ -0,0 +1,18 @@ +diff -up thunderbird-60.6.1/js/src/util/NativeStack.cpp.1533969 thunderbird-60.6.1/js/src/util/NativeStack.cpp +diff -up thunderbird-60.6.1/tools/profiler/core/platform.h.1533969 thunderbird-60.6.1/tools/profiler/core/platform.h +--- thunderbird-60.6.1/tools/profiler/core/platform.h.1533969 2019-03-26 12:51:50.138988424 +0100 ++++ thunderbird-60.6.1/tools/profiler/core/platform.h 2019-03-26 12:54:57.576579732 +0100 +@@ -47,11 +47,11 @@ + #if defined(__GLIBC__) + #include + #include +-static inline pid_t gettid() { return (pid_t)syscall(SYS_gettid); } ++# define gettid() static_cast(syscall(SYS_gettid)) + #elif defined(GP_OS_darwin) + #include + #include +-static inline pid_t gettid() { return (pid_t)syscall(SYS_thread_selfid); } ++# define gettid() static_cast(syscall(SYS_thread_selfid)) + #elif defined(GP_OS_android) + #include + #elif defined(GP_OS_windows) diff --git a/thunderbird.spec b/thunderbird.spec index 3a618e4..05dfb4e 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -89,7 +89,7 @@ ExcludeArch: s390x Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 60.6.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -118,6 +118,7 @@ Patch40: build-aarch64-skia.patch Patch226: rhbz-1354671.patch Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch Patch103: rhbz-1219542-s390-build.patch +Patch104: mozilla-1533969.patch # PPC fix Patch304: mozilla-1245783.patch @@ -239,6 +240,7 @@ debug %{name}, you want to install %{name}-debuginfo instead. %ifarch s390 %patch103 -p1 -b .rhbz-1219542-s390-build %endif +%patch104 -p1 -b .1533969 %patch304 -p1 -b .1245783 %patch309 -p1 -b .1460871-ldap-query @@ -687,6 +689,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #=============================================================================== %changelog +* Tue Mar 26 2019 Martin Stransky - 60.6.1-2 +- Added rawhide build fix + * Mon Mar 25 2019 Martin Stransky - 60.6.1-1 - Update to 60.6.1