diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2018-10-20 01:40:26 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-20 22:40:16 +0100 |
commit | bc98a1e89dcd7b3f59f99e4382439d9028ba4db2 (patch) | |
tree | 30eacab721ada65088f863183221bbee51b8e34c /meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch | |
parent | c4acf1b531843497297c492456daea1744400faa (diff) | |
download | poky-bc98a1e89dcd7b3f59f99e4382439d9028ba4db2.tar.gz |
valgrind: update from 3.13.0 to 3.14.0
The removed patches are all upstream.
Adjusted two patches due to rebase.
Guard against __GLIBC_PREREQ for musl libc
(From OE-Core rev: 37841ec56d7756ec9ee00e2a2005681b220f6f5d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch new file mode 100644 index 0000000000..3efe65a940 --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 1b5b6f827ac1153a41fc93e78bf34ccdf5720b9b Mon Sep 17 00:00:00 2001 | ||
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Fri, 19 Oct 2018 10:31:12 -0400 | ||
4 | Subject: [PATCH] Guard against __GLIBC_PREREQ for musl libc | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
9 | --- | ||
10 | memcheck/tests/linux/sys-statx.c | 5 +++++ | ||
11 | 1 file changed, 5 insertions(+) | ||
12 | |||
13 | diff --git a/memcheck/tests/linux/sys-statx.c b/memcheck/tests/linux/sys-statx.c | ||
14 | index fe9f9ba45..473c2cd7f 100644 | ||
15 | --- a/memcheck/tests/linux/sys-statx.c | ||
16 | +++ b/memcheck/tests/linux/sys-statx.c | ||
17 | @@ -7,11 +7,16 @@ | ||
18 | #include <assert.h> | ||
19 | #include <string.h> | ||
20 | #include <sys/syscall.h> | ||
21 | + | ||
22 | +#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) | ||
23 | #if __GLIBC_PREREQ(2,28) | ||
24 | /* struct statx provided in sys/stat.h */ | ||
25 | #else | ||
26 | #include <linux/stat.h> | ||
27 | #endif | ||
28 | +#else | ||
29 | +#include <linux/stat.h> | ||
30 | +#endif | ||
31 | #include <errno.h> | ||
32 | |||
33 | int check_stat2; | ||
34 | -- | ||
35 | 2.17.0 | ||
36 | |||