summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2011-09-26 11:47:06 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-09-26 20:23:54 (GMT)
commit49b058c8e766ee0aa1d57131731d2ee601bb5d65 (patch)
treeb27e77a009d5bff085eb72f4bf5600b21dd33882
parent62fc4c0f77a4c042704468c1ecd40d7776f9a0bf (diff)
downloadbuildroot-49b058c8e766ee0aa1d57131731d2ee601bb5d65.tar.gz
buildroot-49b058c8e766ee0aa1d57131731d2ee601bb5d65.tar.bz2
valgrind: fix build on Linux kernel 3.x
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/valgrind/valgrind-3.6.1-configure-support-linux-3.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/valgrind/valgrind-3.6.1-configure-support-linux-3.patch b/package/valgrind/valgrind-3.6.1-configure-support-linux-3.patch
new file mode 100644
index 0000000..a3b2482
--- /dev/null
+++ b/package/valgrind/valgrind-3.6.1-configure-support-linux-3.patch
@@ -0,0 +1,30 @@
+Add support for kernel 3.x. From upstream r11796 (via Debian).
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+
+Index: valgrind-3.6.1/configure.in
+===================================================================
+--- valgrind-3.6.1.orig/configure.in 2011-02-15 18:31:17.000000000 +0100
++++ valgrind-3.6.1/configure.in 2011-07-08 22:36:36.051563848 +0200
+@@ -220,7 +220,7 @@
+ kernel=`uname -r`
+
+ case "${kernel}" in
+- 2.6.*)
++ 2.6.*|3.*)
+ AC_MSG_RESULT([2.6 family (${kernel})])
+ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
+ ;;
+Index: valgrind-3.6.1/configure
+===================================================================
+--- valgrind-3.6.1.orig/configure 2011-07-08 22:37:18.911240743 +0200
++++ valgrind-3.6.1/configure 2011-07-08 22:37:44.847045178 +0200
+@@ -5348,7 +5348,7 @@
+ kernel=`uname -r`
+
+ case "${kernel}" in
+- 2.6.*)
++ 2.6.*|3.*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6 family (${kernel})" >&5
+ $as_echo "2.6 family (${kernel})" >&6; }
+