File valgrind-3.6.1-kernel3.patch of Package valgrind

--- configure.in
+++ configure.in
@@ -225,9 +225,9 @@ case "${host_os}" in
         kernel=`uname -r`
 
         case "${kernel}" in
-             2.6.*) 
-        	    AC_MSG_RESULT([2.6 family (${kernel})])
-        	    AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
+             2.6.*|3.*) 
+        	    AC_MSG_RESULT([2.6.x/3.x family (${kernel})])
+        	    AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x])
         	    ;;
 
              2.4.*) 
openSUSE Build Service is sponsored by