Added a patch from upstream, fixing a crash in ptmalloc_lock_all

This commit is contained in:
Ingvar Hagelund 2012-05-25 09:18:49 +02:00
parent 61dc0cf2d4
commit dbca8d22ff
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: jemalloc
Version: 3.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: General-purpose scalable concurrent malloc implementation
Group: System Environment/Libraries
@ -18,7 +18,8 @@ Patch1: jemalloc-3.0.0-s390.patch
Patch2: jemalloc-armv5-force-atomic.patch
# RHEL5/POWER has no atomic operations
Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch
# Fixes a crash in ptmalloc_lock_all_crash, bz #824646
Patch4: jemalloc-3.0.0.fixes_ptmalloc_lock_all_crash.patch
BuildRequires: /usr/bin/xsltproc
%description
@ -44,6 +45,7 @@ developing applications that use %{name}.
%patch3 -b .ppc
%endif
%endif
%patch4
%build
%configure
@ -91,6 +93,10 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig
%changelog
* Thu May 24 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-2
- Added a patch from upstream, fixing a crash in ptmalloc_lock_all,
closing #824646
* Mon May 14 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-1
- New upstream release
- Updated no_pprof patch to match new release