diff options
author | Shane Wang <shane.wang@intel.com> | 2012-01-22 17:19:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 11:23:58 +0000 |
commit | 2b81cf3d76241572c299a0a58a3d0ca022bef9a0 (patch) | |
tree | 7a6f45f7108baacfd6e4df0e11dd120e7d2e705c /meta/recipes-devtools/strace/strace-4.6 | |
parent | 745bdcd3421747b050493079101f6f5ba7830daf (diff) | |
download | openembedded-core-2b81cf3d76241572c299a0a58a3d0ca022bef9a0.tar.gz openembedded-core-2b81cf3d76241572c299a0a58a3d0ca022bef9a0.tar.bz2 openembedded-core-2b81cf3d76241572c299a0a58a3d0ca022bef9a0.zip |
strace: upgrade to 4.6
Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.6')
-rw-r--r-- | meta/recipes-devtools/strace/strace-4.6/sigmask.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.6/sigmask.patch b/meta/recipes-devtools/strace/strace-4.6/sigmask.patch new file mode 100644 index 0000000000..99962af48a --- /dev/null +++ b/meta/recipes-devtools/strace/strace-4.6/sigmask.patch @@ -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" + }; |