valgrind: enable LTO and refresh patches
[openwrt/.git] / package / devel / valgrind / patches / 100-fix_configure_check.patch
index b06cc3bf71de073448ec57bc43a62d1aa1d6a9b5..270181ae376a2eb6f74d2f412ea6125b95cac3dc 100644 (file)
@@ -1,6 +1,6 @@
---- a/configure.in
-+++ b/configure.in
-@@ -260,7 +260,7 @@ case "${host_os}" in
+--- a/configure.ac
++++ b/configure.ac
+@@ -341,7 +341,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.*)