mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
strace: upgrade to 4.6
(From OE-Core rev: 2b81cf3d76241572c299a0a58a3d0ca022bef9a0) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
27aec8bef6
commit
87b3c3f813
23
meta/recipes-devtools/strace/strace-4.6/sigmask.patch
Normal file
23
meta/recipes-devtools/strace/strace-4.6/sigmask.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
sigmask is a macro which is dropped if BSD compatibility is
|
||||
not enabled. So we check if the macro does not exist then
|
||||
we define it to __sigmask
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Index: strace-4.5.20/signal.c
|
||||
===================================================================
|
||||
--- strace-4.5.20.orig/signal.c 2010-02-23 13:26:16.000000000 -0800
|
||||
+++ strace-4.5.20/signal.c 2011-07-20 23:06:35.842339197 -0700
|
||||
@@ -140,6 +140,11 @@
|
||||
#endif
|
||||
#endif /* LINUX */
|
||||
|
||||
+#if !defined (sigmask) && defined (__sigmask)
|
||||
+/* Compute mask for signal SIG. */
|
||||
+#define sigmask(sig) __sigmask(sig)
|
||||
+#endif /* sigmask */
|
||||
+
|
||||
const char *const signalent0[] = {
|
||||
#include "signalent.h"
|
||||
};
|
||||
Reference in New Issue
Block a user