]> git.pld-linux.org Git - packages/valgrind.git/blobdiff - kernel-4.x.patch
- fix build with linux 4.x
[packages/valgrind.git] / kernel-4.x.patch
diff --git a/kernel-4.x.patch b/kernel-4.x.patch
new file mode 100644 (file)
index 0000000..0420187
--- /dev/null
@@ -0,0 +1,11 @@
+--- valgrind-3.10.1/configure.ac~      2015-05-10 12:56:39.000000000 +0200
++++ valgrind-3.10.1/configure.ac       2015-05-10 12:57:15.434577885 +0200
+@@ -303,7 +303,7 @@
+         kernel=`uname -r`
+         case "${kernel}" in
+-             2.6.*|3.*) 
++             2.6.*|3.*|4.*) 
+                   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])
+                   ;;
This page took 0.029707 seconds and 4 git commands to generate.