This bump requires us to jump to jemalloc 3.0.0. The following changes to the ebuild are needed (tested on amd64, x86): --- /usr/portage/dev-db/redis/redis-2.4.14.ebuild 2012-06-04 17:01:06.000000000 +1000 +++ redis-2.4.15.ebuild 2012-07-19 15:50:05.140700633 +1000 @@ -18,7 +18,7 @@ RDEPEND="" DEPEND=">=sys-devel/autoconf-2.63 tcmalloc? ( dev-util/google-perftools ) - jemalloc? ( <dev-libs/jemalloc-3.0 ) + jemalloc? ( >=dev-libs/jemalloc-3.0 ) test? ( dev-lang/tcl ) ${RDEPEND}" REQUIRED_USE="tcmalloc? ( !jemalloc ) @@ -48,7 +48,7 @@ epatch "${FILESDIR}/redis-2.4.3-shared.patch" epatch "${FILESDIR}/redis-2.4.4-tcmalloc.patch" if use jemalloc ; then - sed -i -e "s/je_/j/" src/zmalloc.c + sed -i -e "s/je_/j/" src/zmalloc.c src/zmalloc.h fi # now we will rewrite present Makefiles local makefiles=""
New version: * INFO command now shows slaves with the correct port number, assuming you use 2.4.16 or greater as slave as well. This makes Redis 2.4.16 compatible with Redis Sentinel. This fix required the introduction of a new internal command called REPLCONF, see commit b998ebe for more information. Everything seems to work out fine. Lets do this.
InCVS.
USE=jemalloc redis-2.4.16 fails to build without the sed zmalloc.h change by Johan Bergström. In addition the jemalloc dep should be increased to 3.0 as is noted in the changelog for 2.4.15 What's new in Redis 2.4.15 ========================== UPGRADE URGENCY: moderate if you use AOF, otherwise low. * [BUGFIX] Jemalloc updated to 3.0.0. This fixes a possibly AOF rewrite issue. See https://github.com/antirez/redis/issues/504 for info.