summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-05-16 12:08:35 +0200
committerMartin Stransky <stransky@redhat.com>2018-05-16 12:08:35 +0200
commit8fd36a3003927553db83dd4ba741c9a725454411 (patch)
tree5f7c725aa57dfabb492571af74d1a4f2c6d87ae7
parentMerge branch 'master' into f27 (diff)
parentDisabled jemalloc on second arches (diff)
downloadlibrewolf-fedora-ff-8fd36a3003927553db83dd4ba741c9a725454411.tar.gz
librewolf-fedora-ff-8fd36a3003927553db83dd4ba741c9a725454411.tar.bz2
librewolf-fedora-ff-8fd36a3003927553db83dd4ba741c9a725454411.zip
Merge branch 'master' into f27
-rw-r--r--firefox.spec12
-rw-r--r--xulrunner-24.0-jemalloc-ppc.patch12
2 files changed, 6 insertions, 18 deletions
diff --git a/firefox.spec b/firefox.spec
index f11b886..5cf6f46 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -102,7 +102,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 60.0
-Release: 4%{?pre_tag}%{?dist}
+Release: 5%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://hg.mozilla.org/releases/mozilla-release/archive/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -122,8 +122,6 @@ Source28: firefox-wayland.sh.in
# Build patches
Patch3: mozilla-build-arm.patch
-# https://bugzilla.redhat.com/show_bug.cgi?id=814879#c3
-Patch18: xulrunner-24.0-jemalloc-ppc.patch
Patch25: rhbz-1219542-s390-build.patch
Patch26: build-icu-big-endian.patch
Patch27: mozilla-1335250.patch
@@ -300,7 +298,6 @@ This package contains results of tests executed during build.
# ignored during this compare.
-%patch18 -p1 -b .jemalloc-ppc
%ifarch s390
%patch25 -p1 -b .rhbz-1219542-s390
%endif
@@ -412,8 +409,8 @@ echo 'ac_add_options --enable-optimize' >> .mozconfig
echo "ac_add_options --disable-debug" >> .mozconfig
%endif
-# s390(x) fails to start with jemalloc enabled
-%ifarch s390 s390x
+# Second arches fail to start with jemalloc enabled
+%ifnarch %{ix86} x86_64
echo "ac_add_options --disable-jemalloc" >> .mozconfig
%endif
@@ -873,6 +870,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-5
+- Disabled jemalloc on second arches.
+
* Thu May 3 2018 Martin Stransky <stransky@redhat.com> - 60.0-4
- Updated to Firefox 60 build 2
diff --git a/xulrunner-24.0-jemalloc-ppc.patch b/xulrunner-24.0-jemalloc-ppc.patch
deleted file mode 100644
index 2e72a6d..0000000
--- a/xulrunner-24.0-jemalloc-ppc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up firefox-58.0/memory/build/mozjemalloc.cpp.jemalloc-ppc firefox-58.0/memory/build/mozjemalloc.cpp
---- firefox-58.0/memory/build/mozjemalloc.cpp.jemalloc-ppc 2018-01-23 13:12:28.618164403 +0100
-+++ firefox-58.0/memory/build/mozjemalloc.cpp 2018-01-23 13:18:26.638212523 +0100
-@@ -180,7 +180,7 @@ using namespace mozilla;
- // Debug builds are opted out too, for test coverage.
- #ifndef MOZ_DEBUG
- #if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && \
-- !defined(__aarch64__)
-+ !defined(__aarch64__) && !defined(__powerpc__)
- #define MALLOC_STATIC_PAGESIZE 1
- #endif
- #endif
bgstack15