GCC 6.0 build patch, Disabled mozilla crashreporter to catch Gtk3 crashes

This commit is contained in:
Martin Stransky 2016-02-02 15:50:58 +01:00
parent 7306cb749c
commit 34727c1159
2 changed files with 22 additions and 2 deletions

13
firefox-gcc-6.0.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up firefox-44.0/nsprpub/config/make-system-wrappers.pl.back firefox-44.0/nsprpub/config/make-system-wrappers.pl
--- firefox-44.0/nsprpub/config/make-system-wrappers.pl.back 2016-01-24 00:23:49.000000000 +0100
+++ firefox-44.0/nsprpub/config/make-system-wrappers.pl 2016-02-02 14:58:45.064112655 +0100
@@ -19,7 +19,9 @@ while (<STDIN>) {
open OUT, ">$output_dir/$_";
print OUT "#pragma GCC system_header\n"; # suppress include_next warning
print OUT "#pragma GCC visibility push(default)\n";
+ print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#include_next \<$_\>\n";
+ print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#pragma GCC visibility pop\n";
close OUT;
}

View File

@ -70,14 +70,15 @@
%define enable_mozilla_crashreporter 0 %define enable_mozilla_crashreporter 0
%if !%{debug_build} %if !%{debug_build}
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
%define enable_mozilla_crashreporter 1 # Temporary disable to catch Gtk3 crashes in Fedora (mozbz#1239962)
%define enable_mozilla_crashreporter 0
%endif %endif
%endif %endif
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 44.0 Version: 44.0
Release: 4%{?pre_tag}%{?dist} Release: 5%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/projects/firefox/ URL: https://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
@ -104,6 +105,7 @@ Patch20: firefox-build-prbool.patch
Patch21: firefox-ppc64le.patch Patch21: firefox-ppc64le.patch
Patch24: firefox-debug.patch Patch24: firefox-debug.patch
Patch25: rhbz-1219542-s390-build.patch Patch25: rhbz-1219542-s390-build.patch
Patch26: firefox-gcc-6.0.patch
# Fedora specific patches # Fedora specific patches
# Unable to install addons from https pages # Unable to install addons from https pages
@ -248,6 +250,7 @@ cd %{tarballdir}
%ifarch s390 %ifarch s390
%patch25 -p1 -b .rhbz-1219542-s390 %patch25 -p1 -b .rhbz-1219542-s390
%endif %endif
%patch26 -p1 -b .gcc-6.0
%patch3 -p2 -b .arm %patch3 -p2 -b .arm
@ -759,6 +762,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Mon Feb 2 2016 Martin Stransky <stransky@redhat.com> - 44.0-5
- GCC 6.0 build patch
- Disabled mozilla crashreporter to catch Gtk3 crashes
* Mon Feb 1 2016 Martin Stransky <stransky@redhat.com> - 44.0-4 * Mon Feb 1 2016 Martin Stransky <stransky@redhat.com> - 44.0-4
- Removed pulseaudio hard dependency (rhbz#1303620) - Removed pulseaudio hard dependency (rhbz#1303620)