From: Jan Rękorajski Date: Sat, 18 Mar 2017 20:24:59 +0000 (+0100) Subject: - added gcc bug workaround, still does not work X-Git-Tag: auto/th/thunderbird-52.0.1-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fthunderbird.git;a=commitdiff_plain;h=e0edcd930c9983d51c8f91ea859964cedc77c6a6 - added gcc bug workaround, still does not work --- diff --git a/mozilla-1245783.patch b/mozilla-1245783.patch new file mode 100644 index 0000000..b0bd9ee --- /dev/null +++ b/mozilla-1245783.patch @@ -0,0 +1,17 @@ +# Remove when mozbz#1269319 lands + +--- firefox-45.0.1-orig/mozilla/js/src/Makefile.in 2016-05-17 14:53:58.753178403 +0200 ++++ firefox-45.0.1/mozilla/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) + diff --git a/thunderbird.spec b/thunderbird.spec index f5a4ab9..334db1e 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -35,6 +35,7 @@ Patch0: prefs.patch Patch1: no-subshell.patch Patch2: enable-addons.patch Patch3: mozilla-1269171-badalloc.patch +Patch4: mozilla-1245783.patch URL: http://www.mozilla.org/projects/thunderbird/ BuildRequires: GConf2-devel >= 1.2.1 BuildRequires: alsa-lib-devel @@ -134,14 +135,12 @@ funkcjonalność kalendarza. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build cat << EOF > .mozconfig mk_add_options MOZ_OBJDIR=%{objdir} -export CFLAGS="%{rpmcflags}" -export CXXFLAGS="%{rpmcflags}" - %if %{with crashreporter} export MOZ_DEBUG_SYMBOLS=1 %endif @@ -168,8 +167,6 @@ ac_add_options --enable-debugger-info-modules ac_add_options --enable-crash-on-assert %else ac_add_options --disable-debug -ac_add_options --disable-debug-modules -ac_add_options --disable-logging ac_add_options --enable-optimize="%{rpmcflags} -Os" %endif ac_add_options --disable-strip