- fix build on s390
This commit is contained in:
parent
8119d14817
commit
47b83e8de4
11
mozilla-build-s390.patch
Normal file
11
mozilla-build-s390.patch
Normal file
@ -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<tl::IsSameType<size_t,JSUword>::result>::result _;
|
||||||
|
size_t log2 = JS_CEILING_LOG2W(x);
|
||||||
|
JS_ASSERT(log2 < tl::BitSize<size_t>::result);
|
||||||
|
size_t result = size_t(1) << log2;
|
@ -25,7 +25,7 @@
|
|||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 3.1.3
|
Version: 3.1.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/thunderbird/
|
URL: http://www.mozilla.org/projects/thunderbird/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -68,6 +68,7 @@ Patch4: xulrunner-1.9.2.1-build.patch
|
|||||||
|
|
||||||
Patch6: mozilla-libjpeg-turbo.patch
|
Patch6: mozilla-libjpeg-turbo.patch
|
||||||
Patch7: mozilla-missing-cflags.patch
|
Patch7: mozilla-missing-cflags.patch
|
||||||
|
Patch8: mozilla-build-s390.patch
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
|
|
||||||
@ -131,6 +132,9 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{version_internal}/' %{P:%%PATCH0} \
|
|||||||
%patch4 -p1 -b .protected
|
%patch4 -p1 -b .protected
|
||||||
%patch6 -p1 -b .turbo
|
%patch6 -p1 -b .turbo
|
||||||
%patch7 -p1 -b .mozcflags
|
%patch7 -p1 -b .mozcflags
|
||||||
|
%ifarch s390
|
||||||
|
%patch8 -p0 -b .s390
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
@ -387,6 +391,9 @@ fi
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 16 2010 Dan Horák <dan[at]danny.cz> - 3.1.3-2
|
||||||
|
- fix build on s390
|
||||||
|
|
||||||
* Tue Sep 7 2010 Jan Horak <jhorak@redhat.com> - 3.1.3-1
|
* Tue Sep 7 2010 Jan Horak <jhorak@redhat.com> - 3.1.3-1
|
||||||
- Update to 3.1.3
|
- Update to 3.1.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user