diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-04-23 08:44:50 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-26 19:43:57 +0200 |
commit | 0cedafff98a1fc62e249e5b3049de5bad39552de (patch) | |
tree | 188fdae14b4d18333cd3c31f0944f5257135a30f /meta-networking | |
parent | 7bd0ff1d90bbe1b0c831bf9e7bc60fc2ad9181dd (diff) | |
download | ast2050-yocto-openembedded-0cedafff98a1fc62e249e5b3049de5bad39552de.zip ast2050-yocto-openembedded-0cedafff98a1fc62e249e5b3049de5bad39552de.tar.gz |
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>
Diffstat (limited to 'meta-networking')
4 files changed, 50 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch new file mode 100644 index 0000000..63511bf --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch @@ -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]); + } + } diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc new file mode 100644 index 0000000..448a15d --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc @@ -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 diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb new file mode 100644 index 0000000..18232b4 --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb @@ -0,0 +1,6 @@ +require libmemcached.inc + +SRC_URI += "file://crosscompile.patch" + +SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a" +SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325" diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb new file mode 100644 index 0000000..cdf8415 --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb @@ -0,0 +1,4 @@ +require libmemcached.inc + +SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516" +SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81" |