diff --git a/mozilla-build-s390.patch b/mozilla-build-s390.patch new file mode 100644 index 0000000..efdc54e --- /dev/null +++ b/mozilla-build-s390.patch @@ -0,0 +1,11 @@ +diff -up mozilla/js/src/jstl.h.old mozilla/js/src/jstl.h +--- mozilla/js/src/jstl.h.old 2010-03-10 10:01:51.000000000 +0100 ++++ mozilla/js/src/jstl.h 2010-03-10 12:24:55.000000000 +0100 +@@ -195,7 +195,6 @@ class ReentrancyGuard + static JS_ALWAYS_INLINE size_t + RoundUpPow2(size_t x) + { +- typedef tl::StaticAssert::result>::result _; + size_t log2 = JS_CEILING_LOG2W(x); + JS_ASSERT(log2 < tl::BitSize::result); + size_t result = size_t(1) << log2; diff --git a/thunderbird.spec b/thunderbird.spec index 3aafb00..6e307a3 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -25,7 +25,7 @@ Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 3.1.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -68,6 +68,7 @@ Patch4: xulrunner-1.9.2.1-build.patch Patch6: mozilla-libjpeg-turbo.patch Patch7: mozilla-missing-cflags.patch +Patch8: mozilla-build-s390.patch %if %{official_branding} # Required by Mozilla Corporation @@ -131,6 +132,9 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{version_internal}/' %{P:%%PATCH0} \ %patch4 -p1 -b .protected %patch6 -p1 -b .turbo %patch7 -p1 -b .mozcflags +%ifarch s390 +%patch8 -p0 -b .s390 +%endif %if %{official_branding} @@ -387,6 +391,9 @@ fi #=============================================================================== %changelog +* Thu Sep 16 2010 Dan HorĂ¡k - 3.1.3-2 +- fix build on s390 + * Tue Sep 7 2010 Jan Horak - 3.1.3-1 - Update to 3.1.3