* [gentoo-commits] gentoo-x86 commit in dev-db/redis/files: redis-2.4.3-shared.patch
@ 2011-11-26 10:37 Luca Barbato (lu_zero)
0 siblings, 0 replies; only message in thread
From: Luca Barbato (lu_zero) @ 2011-11-26 10:37 UTC (permalink / raw
To: gentoo-commits
lu_zero 11/11/26 10:37:48
Added: redis-2.4.3-shared.patch
Log:
New version, thanks to Dirkjan Ochtman <djc@gentoo.org> and Johan Bergström <bugs@bergstroem.nu> in bug #378085 for the patches and the updated ebuild.
(Portage version: 2.2.0_alpha76/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/redis/files/redis-2.4.3-shared.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/redis/files/redis-2.4.3-shared.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/redis/files/redis-2.4.3-shared.patch?rev=1.1&content-type=text/plain
Index: redis-2.4.3-shared.patch
===================================================================
See https://github.com/antirez/redis/pull/137
--- src/Makefile 2011-10-17 10:46:00.000000000 +0200
+++ src/Makefile.2 2011-10-17 13:47:53.000000000 +0200
@@ -49,7 +49,16 @@
ifeq ($(USE_JEMALLOC),yes)
ALLOC_DEP=../deps/jemalloc/lib/libjemalloc.a
ALLOC_LINK=$(ALLOC_DEP) -ldl
- ALLOC_FLAGS=-DUSE_JEMALLOC -I../deps/jemalloc/include
+ ALLOC_FLAGS=-DUSE_JEMALLOC
+ ifdef JEMALLOC_SHARED
+ ALLOC_DEP=
+ ALLOC_LINK=-ljemalloc
+ ALLOC_FLAGS=-DUSE_JEMALLOC -I/usr/include
+ else
+ ALLOC_DEP=../deps/jemalloc/lib/libjemalloc.a
+ ALLOC_LINK=$(ALLOC_DEP) -ldl
+ ALLOC_FLAGS=-DUSE_JEMALLOC -I../deps/jemalloc/include
+ endif
endif
CCOPT= $(CFLAGS) $(ARCH) $(PROF)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-26 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-26 10:37 [gentoo-commits] gentoo-x86 commit in dev-db/redis/files: redis-2.4.3-shared.patch Luca Barbato (lu_zero)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox