From a7c9530625bbc7f77627f36549d11c37db38cc34 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Sep 12 2019 14:20:53 +0000 Subject: Added workaround for failing inline function on ppc64le --- diff --git a/mozilla-1512162.patch b/mozilla-1512162.patch new file mode 100644 index 0000000..0ee0ed5 --- /dev/null +++ b/mozilla-1512162.patch @@ -0,0 +1,21 @@ +diff -up thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp.mozbz-1512162 thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp +--- thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp.mozbz-1512162 2019-09-10 01:43:33.000000000 +0200 ++++ thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp 2019-09-12 16:16:52.644123766 +0200 +@@ -1092,7 +1092,7 @@ class MOZ_STACK_CLASS CallMethodHelper f + MOZ_ALWAYS_INLINE bool GetOutParamSource(uint8_t paramIndex, + MutableHandleValue srcp) const; + +- MOZ_ALWAYS_INLINE bool GatherAndConvertResults(); ++ bool GatherAndConvertResults(); + + MOZ_ALWAYS_INLINE bool QueryInterfaceFastPath(); + +@@ -1139,7 +1139,7 @@ class MOZ_STACK_CLASS CallMethodHelper f + + ~CallMethodHelper(); + +- MOZ_ALWAYS_INLINE bool Call(); ++ bool Call(); + + // Trace implementation so we can put our CallMethodHelper in a Rooted. + void trace(JSTracer* aTrc); diff --git a/thunderbird.spec b/thunderbird.spec index 2fd6ea0..099b941 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -122,6 +122,7 @@ Patch226: rhbz-1354671.patch Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch Patch416: firefox-SIOCGSTAMP.patch Patch417: build-aarch64-user_vfp.patch +Patch418: mozilla-1512162.patch Patch103: rhbz-1219542-s390-build.patch Patch105: thunderbird-debug.patch @@ -269,6 +270,7 @@ debug %{name}, you want to install %{name}-debuginfo instead. %endif %patch416 -p1 -b .SIOCGSTAMP %patch417 -p1 -b .aarch64-user_vfp +%patch418 -p1 -b .mozbz-1512162 %patch306 -p1 -b .1353817 %if 0%{?disable_elfhack}