diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-support/libmemcached | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-support/libmemcached')
4 files changed, 53 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 0000000000..63511bff5f --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | libmemcached/backtrace.cc | 3 ++- | ||
2 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
3 | |||
4 | --- libmemcached-1.0.15.orig/libmemcached/backtrace.cc | ||
5 | +++ libmemcached-1.0.15/libmemcached/backtrace.cc | ||
6 | @@ -75,10 +75,11 @@ void custom_backtrace(void) | ||
7 | { | ||
8 | for (int x= 0; x < stack_frames; x++) | ||
9 | { | ||
10 | bool was_demangled= false; | ||
11 | |||
12 | +#if USE_DEMANGLE == 1 | ||
13 | if (USE_DEMANGLE) | ||
14 | { | ||
15 | #ifdef HAVE_DLFCN_H | ||
16 | Dl_info dlinfo; | ||
17 | if (dladdr(backtrace_buffer[x], &dlinfo)) | ||
18 | @@ -107,11 +108,11 @@ void custom_backtrace(void) | ||
19 | dlinfo.dli_fname); | ||
20 | } | ||
21 | } | ||
22 | #endif | ||
23 | } | ||
24 | - | ||
25 | +#endif | ||
26 | if (was_demangled == false) | ||
27 | { | ||
28 | fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]); | ||
29 | } | ||
30 | } | ||
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc new file mode 100644 index 0000000000..50ef4d6062 --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "open source C/C++ client library and tools for the memcached server" | ||
2 | DEPENDS = "libevent util-linux" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60" | ||
5 | |||
6 | SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz" | ||
7 | |||
8 | TARGET_LDFLAGS += "-luuid" | ||
9 | |||
10 | PACKAGECONFIG ??= "" | ||
11 | PACKAGECONFIG[sasl] = "--enable-sasl,--disable-sasl,cyrus-sasl" | ||
12 | |||
13 | 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 0000000000..18232b4ceb --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | require libmemcached.inc | ||
2 | |||
3 | SRC_URI += "file://crosscompile.patch" | ||
4 | |||
5 | SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a" | ||
6 | 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 0000000000..cdf8415ff7 --- /dev/null +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require libmemcached.inc | ||
2 | |||
3 | SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516" | ||
4 | SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81" | ||