From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../libmemcached/files/crosscompile.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch (limited to 'meta-networking/recipes-support/libmemcached/files/crosscompile.patch') 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 @@ + 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]); + } + } -- cgit v1.2.3-54-g00ecf