move a few development packages to trunk and add myself as a maintainer
[openwrt/svn-archive/archive.git] / package / devel / valgrind / patches / 100-fix_configure_check.patch
diff --git a/package/devel/valgrind/patches/100-fix_configure_check.patch b/package/devel/valgrind/patches/100-fix_configure_check.patch
new file mode 100644 (file)
index 0000000..b06cc3b
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure.in
++++ b/configure.in
+@@ -260,7 +260,7 @@ case "${host_os}" in
+         # Ok, this is linux. Check the kernel version
+         AC_MSG_CHECKING([for the kernel version])
+-        kernel=`uname -r`
++        kernel=${UNAME_R:-`uname -r`}
+         case "${kernel}" in
+              2.6.*|3.*)