An updated ppc64le patch (rhbz#1094378)

This commit is contained in:
Martin Stransky 2014-05-09 17:49:48 +02:00
commit b29fbba698
2 changed files with 5073 additions and 2 deletions

5061
mozilla-ppc64le.patch Normal file

File diff suppressed because it is too large Load diff

View file

@ -78,7 +78,7 @@
Summary: XUL Runtime for Gecko Applications
Name: xulrunner
Version: 29.0
Release: 1%{?pre_tag}%{?dist}
Release: 2%{?pre_tag}%{?dist}
URL: http://developer.mozilla.org/En/XULRunner
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@ -101,6 +101,7 @@ Patch200: mozilla-193-pkgconfig.patch
Patch204: rhbz-966424.patch
# Upstream patches
Patch300: mozilla-ppc64le.patch
# ---------------------------------------------------
@ -236,6 +237,12 @@ cd %{tarballdir}
%patch200 -p2 -b .pk
%patch204 -p1 -b .966424
# Upstream patches
%ifarch ppc64le
%if 0%{?fedora} > 20
%patch300 -p1 -b .ppc64le
%endif
%endif
%{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig
@ -351,7 +358,7 @@ export LIBDIR='%{_libdir}'
MOZ_SMP_FLAGS=-j1
# On x86 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
%ifarch %{ix86} x86_64 ppc ppc64
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le
[ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
@ -516,6 +523,9 @@ fi
#---------------------------------------------------------------------
%changelog
* Mon Apr 28 2014 Martin Stransky <stransky@redhat.com> - 29.0-2
- An updated ppc64le patch (rhbz#1091054)
* Mon Apr 28 2014 Martin Stransky <stransky@redhat.com> - 29.0-1
- Update to 29.0