meta-openembedded/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00

33 lines
831 B
Diff

Upstream-Status: Pending
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]);
}
}