diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.6.0')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_unsupporting_kernel_3.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_unsupporting_kernel_3.patch b/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_unsupporting_kernel_3.patch new file mode 100644 index 0000000000..346ffebb3d --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_unsupporting_kernel_3.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | valgrind: Add 3.x statements to "case" for supporting the kernel 3.x | ||
2 | |||
3 | Signed-off-by: Lin Tong <tong.lin@intel.com> | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | diff --git a/configure.in b/configure.in | ||
8 | index 3878619..1cb7dc7 100644 | ||
9 | --- a/configure.in | ||
10 | +++ b/configure.in | ||
11 | @@ -229,10 +229,14 @@ case "${host_os}" in | ||
12 | AC_MSG_RESULT([2.4 family (${kernel})]) | ||
13 | AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x]) | ||
14 | ;; | ||
15 | + 3.*) | ||
16 | + AC_MSG_RESULT([3 family (${kernel})]) | ||
17 | + AC_DEFINE([KERNEL_3], 1, [Define to 1 if you're using Linux 3.x]) | ||
18 | + ;; | ||
19 | |||
20 | *) | ||
21 | AC_MSG_RESULT([unsupported (${kernel})]) | ||
22 | - AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6]) | ||
23 | + AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6, 3.x]) | ||
24 | ;; | ||
25 | esac | ||
26 | |||