Patch that removes explicit altivec on el5/ppc

This commit is contained in:
Ingvar Hagelund 2014-04-01 12:48:26 +02:00
parent 8dea9c5cd8
commit b4c58a8ef7
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
--- configure.old 2014-03-31 18:38:51.000000000 +0200
+++ configure 2014-04-01 12:20:37.723062342 +0200
@@ -4694,10 +4694,6 @@
fi
;;
powerpc)
- cat >>confdefs.h <<_ACEOF
-#define HAVE_ALTIVEC
-_ACEOF
-
;;
*)
;;

View File

@ -1,7 +1,7 @@
Name: jemalloc Name: jemalloc
Version: 3.6.0 Version: 3.6.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: General-purpose scalable concurrent malloc implementation Summary: General-purpose scalable concurrent malloc implementation
Group: System Environment/Libraries Group: System Environment/Libraries
@ -16,6 +16,7 @@ Patch0: jemalloc-3.5.1.no_pprof.patch
Patch2: jemalloc-armv5-force-atomic.patch Patch2: jemalloc-armv5-force-atomic.patch
# RHEL5/POWER has no atomic operations # RHEL5/POWER has no atomic operations
Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch
Patch4: jemalloc-3.6.0.no_explicit_altivec.patch
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
%description %description
@ -39,6 +40,7 @@ developing applications that use %{name}.
%ifarch ppc ppc64 %ifarch ppc ppc64
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
%patch3 -b .ppc %patch3 -b .ppc
%patch4 -b .ppc
%endif %endif
%endif %endif
@ -88,6 +90,9 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %changelog
* Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-2
- Patch that removes explicit altivec on el5/ppc
* Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1 * Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1
- New upstream release. This release fixes a critical regression - New upstream release. This release fixes a critical regression