summaryrefslogtreecommitdiffstats
path: root/redis-deps-unbundle-jemalloc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-28 09:01:38 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-28 09:01:38 +0200
commit8bf04f284c664c0974c467670c0bdb1c623799e5 (patch)
tree7eeb2efd6699f73ba66e2f64ac5fe4c8bb977101 /redis-deps-unbundle-jemalloc.patch
parent1a163cdf45ba6cfcabca5d5b18e0fde5f28e9f09 (diff)
redis: sync with rawhide + update to 2.6.14
Diffstat (limited to 'redis-deps-unbundle-jemalloc.patch')
-rw-r--r--redis-deps-unbundle-jemalloc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/redis-deps-unbundle-jemalloc.patch b/redis-deps-unbundle-jemalloc.patch
new file mode 100644
index 0000000..c68c1f6
--- /dev/null
+++ b/redis-deps-unbundle-jemalloc.patch
@@ -0,0 +1,14 @@
+--- a/src/Makefile 2013-04-30 15:15:56.000000000 +0200
++++ b/src/Makefile 2013-06-19 12:58:12.345612310 +0200
+@@ -71,9 +71,8 @@ ifeq ($(MALLOC),tcmalloc_minimal)
+ endif
+
+ ifeq ($(MALLOC),jemalloc)
+- DEPENDENCY_TARGETS+= jemalloc
+- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
+- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
++ FINAL_LIBS+= -ljemalloc -ldl
+ endif
+
+ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)