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:54:25 +0000 |
commit | 87b3c3f81344a9d54f94a5e4b8e13b8b384dea1f (patch) | |
tree | aad59429f172f4174fc149ad78d450255e6b3585 /meta/recipes-devtools/strace/strace-4.6/sigmask.patch | |
parent | 27aec8bef61afdcd53b497709dd53bba8224eae3 (diff) | |
download | poky-87b3c3f81344a9d54f94a5e4b8e13b8b384dea1f.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.6/sigmask.patch')
-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 @@ | |||
1 | sigmask is a macro which is dropped if BSD compatibility is | ||
2 | not enabled. So we check if the macro does not exist then | ||
3 | we define it to __sigmask | ||
4 | |||
5 | Upstream-Status: Inappropriate [configuration] | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | |||
8 | Index: strace-4.5.20/signal.c | ||
9 | =================================================================== | ||
10 | --- strace-4.5.20.orig/signal.c 2010-02-23 13:26:16.000000000 -0800 | ||
11 | +++ strace-4.5.20/signal.c 2011-07-20 23:06:35.842339197 -0700 | ||
12 | @@ -140,6 +140,11 @@ | ||
13 | #endif | ||
14 | #endif /* LINUX */ | ||
15 | |||
16 | +#if !defined (sigmask) && defined (__sigmask) | ||
17 | +/* Compute mask for signal SIG. */ | ||
18 | +#define sigmask(sig) __sigmask(sig) | ||
19 | +#endif /* sigmask */ | ||
20 | + | ||
21 | const char *const signalent0[] = { | ||
22 | #include "signalent.h" | ||
23 | }; | ||