diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch new file mode 100644 index 0000000000..c2965c40df --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From ecbdea7bd8b08205f1bc3f6b72d4b4a80f313fcb Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 10 Jun 2017 01:03:17 -0700 | ||
4 | Subject: [PATCH 3/6] correct include directive path for config.h | ||
5 | |||
6 | when building out of source tree, it can not find | ||
7 | the generated config.h otherwise | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | memcheck/tests/linux/syscalls-2007.c | 2 +- | ||
14 | memcheck/tests/linux/syslog-syscall.c | 2 +- | ||
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c | ||
18 | index b61c6d5..cc3fd62 100644 | ||
19 | --- a/memcheck/tests/linux/syscalls-2007.c | ||
20 | +++ b/memcheck/tests/linux/syscalls-2007.c | ||
21 | @@ -10,7 +10,7 @@ | ||
22 | |||
23 | #define _GNU_SOURCE | ||
24 | |||
25 | -#include "../../config.h" | ||
26 | +#include "config.h" | ||
27 | #include <fcntl.h> | ||
28 | #include <signal.h> | ||
29 | #include <stdint.h> | ||
30 | diff --git a/memcheck/tests/linux/syslog-syscall.c b/memcheck/tests/linux/syslog-syscall.c | ||
31 | index 1143722..21e758b 100644 | ||
32 | --- a/memcheck/tests/linux/syslog-syscall.c | ||
33 | +++ b/memcheck/tests/linux/syslog-syscall.c | ||
34 | @@ -6,7 +6,7 @@ | ||
35 | * klogctl(). | ||
36 | */ | ||
37 | |||
38 | -#include "../../config.h" | ||
39 | +#include "config.h" | ||
40 | #include <stdio.h> | ||
41 | #if defined(HAVE_SYS_KLOG_H) | ||
42 | #include <sys/klog.h> | ||
43 | -- | ||
44 | 2.13.1 | ||
45 | |||