valgrind: update to the latest version, fix build issues on ARM
[openwrt/openwrt.git] / package / devel / valgrind / patches / 100-fix_configure_check.patch
index 87ef3b39fc55c44c021eef0926d8309800f1013b..48477a38636baa34dae3b08c66af57dce2a4d9ca 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -300,7 +300,7 @@ case "${host_os}" in
+@@ -328,7 +328,7 @@ case "${host_os}" in
          # Ok, this is linux. Check the kernel version
          AC_MSG_CHECKING([for the kernel version])
  
@@ -8,4 +8,4 @@
 +        kernel=${UNAME_R:-`uname -r`}
  
          case "${kernel}" in
-              2.6.*|3.*) 
+              0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*)