Added fix for PPC
This commit is contained in:
parent
21430f6e1d
commit
e26da1cc33
@ -40,7 +40,7 @@
|
|||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 15.0
|
Version: 15.0
|
||||||
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
|
||||||
@ -66,6 +66,9 @@ Patch104: xulrunner-10.0-gcc47.patch
|
|||||||
# Linux specific
|
# Linux specific
|
||||||
Patch200: thunderbird-8.0-enable-addons.patch
|
Patch200: thunderbird-8.0-enable-addons.patch
|
||||||
|
|
||||||
|
# PPC fixes
|
||||||
|
Patch300: xulrunner-852698.patch
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
|
|
||||||
@ -152,6 +155,7 @@ cd mozilla
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%patch200 -p1 -b .addons
|
%patch200 -p1 -b .addons
|
||||||
|
%patch300 -p1 -b .852698
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
@ -389,6 +393,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 7 2012 Jan Horak <jhorak@redhat.com> - 15.0-2
|
||||||
|
- Added workaround fix for PPC (rbhz#852698)
|
||||||
|
|
||||||
* Mon Aug 27 2012 Jan Horak <jhorak@redhat.com> - 15.0-1
|
* Mon Aug 27 2012 Jan Horak <jhorak@redhat.com> - 15.0-1
|
||||||
- Update to 15.0
|
- Update to 15.0
|
||||||
|
|
||||||
|
14
xulrunner-852698.patch
Normal file
14
xulrunner-852698.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: comm-release/mozilla/memory/jemalloc/jemalloc.c
|
||||||
|
===================================================================
|
||||||
|
--- comm-release.orig/mozilla/memory/jemalloc/jemalloc.c
|
||||||
|
+++ comm-release/mozilla/memory/jemalloc/jemalloc.c
|
||||||
|
@@ -1091,7 +1091,9 @@ static unsigned ncpus;
|
||||||
|
* controlling the malloc behavior are defined as compile-time constants
|
||||||
|
* for best performance and cannot be altered at runtime.
|
||||||
|
*/
|
||||||
|
+#if !(defined(__powerpc__))
|
||||||
|
#define MALLOC_STATIC_SIZES 1
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#ifdef MALLOC_STATIC_SIZES
|
||||||
|
|
Loading…
Reference in New Issue
Block a user