Modify jemalloc patch for s390 compatibility

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
This commit is contained in:
Fabian Deutsch 2013-06-19 13:01:22 +02:00
parent 9b86509d24
commit 88764f95a8
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- a/src/Makefile 2013-04-30 15:15:56.000000000 +0200
+++ b/src/Makefile 2013-06-07 09:13:06.913999530 +0200
+++ b/src/Makefile 2013-06-19 12:58:12.345612310 +0200
@@ -71,9 +71,8 @@ ifeq ($(MALLOC),tcmalloc_minimal)
endif
@ -7,7 +7,7 @@
- DEPENDENCY_TARGETS+= jemalloc
- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
+ FINAL_CFLAGS+= -DUSE_JEMALLOC -I/usr/include/jemalloc
+ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
+ FINAL_LIBS+= -ljemalloc -ldl
endif

View File

@ -10,7 +10,7 @@
Name: redis
Version: 2.6.13
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A persistent key-value database
Group: Applications/Databases
@ -126,6 +126,9 @@ fi
%{_unitdir}/%{name}.service
%changelog
* Wed Jun 19 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-3
- Modify jemalloc patch for s390 compatibility (Thanks sharkcz)
* Fri Jun 07 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-2
- Unbundle jemalloc