Added missing gcc6 patch

This commit is contained in:
Martin Stransky 2016-05-24 12:34:22 +02:00
parent 0d4f518d53
commit db3c686e8a
2 changed files with 22 additions and 3 deletions

17
mozilla-1245783.patch Normal file
View File

@ -0,0 +1,17 @@
# Remove when mozbz#1269319 lands
--- firefox-45.0.1-orig/js/src/Makefile.in 2016-05-17 14:53:58.753178403 +0200
+++ firefox-45.0.1/js/src/Makefile.in 2016-05-17 14:53:28.432817862 +0200
@@ -144,6 +144,11 @@ distclean::
CFLAGS += $(MOZ_ZLIB_CFLAGS)
+# Avoid GNU gcc bug #70526
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526#c14
+CFLAGS += -fno-schedule-insns2
+CXXFLAGS += -fno-schedule-insns2
+
# Silence warnings on AIX/HP-UX from non-GNU compilers
ifndef GNU_CC
ifeq ($(OS_ARCH),AIX)

View File

@ -70,7 +70,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
Version: 45.1.0
Release: 3%{?dist}
Release: 4%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@ -102,11 +102,12 @@ Patch105: lightning-bad-langs.patch
# Linux specific
Patch200: thunderbird-enable-addons.patch
# PPC fixes
# PPC fix
Patch300: xulrunner-24.0-jemalloc-ppc.patch
Patch301: mozilla-1228540-1.patch
Patch302: mozilla-1228540.patch
Patch303: mozilla-1253216.patch
Patch304: mozilla-1245783.patch
# Fedora specific patches
Patch400: rhbz-966424.patch
@ -228,6 +229,7 @@ cd mozilla
%patch104 -p1 -b .gcc6
%patch400 -p1 -b .966424
#%patch402 -p1 -b .rhbz-1014858 FIXME musi byt
%patch304 -p1 -b .1245783
cd ..
@ -616,7 +618,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#===============================================================================
%changelog
* Fri May 20 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-3
* Fri May 20 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-4
- Enabled JIT again
* Tue May 17 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-2