libmemcached: add 1.0.15 and 1.0.7 versions

1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Marcin Juszkiewicz 2013-04-23 08:44:50 +00:00 committed by Martin Jansa
parent 7bd0ff1d90
commit 0cedafff98
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,30 @@
libmemcached/backtrace.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
+++ libmemcached-1.0.15/libmemcached/backtrace.cc
@@ -75,10 +75,11 @@ void custom_backtrace(void)
{
for (int x= 0; x < stack_frames; x++)
{
bool was_demangled= false;
+#if USE_DEMANGLE == 1
if (USE_DEMANGLE)
{
#ifdef HAVE_DLFCN_H
Dl_info dlinfo;
if (dladdr(backtrace_buffer[x], &dlinfo))
@@ -107,11 +108,11 @@ void custom_backtrace(void)
dlinfo.dli_fname);
}
}
#endif
}
-
+#endif
if (was_demangled == false)
{
fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
}
}

View File

@ -0,0 +1,10 @@
DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
DEPENDS = "libevent util-linux"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
TARGET_LDFLAGS += "-luuid"
inherit autotools gettext pkgconfig

View File

@ -0,0 +1,6 @@
require libmemcached.inc
SRC_URI += "file://crosscompile.patch"
SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"

View File

@ -0,0 +1,4 @@
require libmemcached.inc
SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"