summaryrefslogtreecommitdiffstats
path: root/package/sysprof/sysprof-01-fix-kernel-version-warning.patch
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2012-07-27 16:26:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 23:50:11 +0200
commit58a62766a1869c913845a649890855515aebb016 (patch)
tree8c91584c07e5216a3179edeb6185cfe99d538a51 /package/sysprof/sysprof-01-fix-kernel-version-warning.patch
parente61153cf972e1f060bc0905df61381a9548cb16e (diff)
downloadbuildroot-novena-58a62766a1869c913845a649890855515aebb016.tar.gz
buildroot-novena-58a62766a1869c913845a649890855515aebb016.zip
sysprof: New package.
[thomas.petazzoni@free-electrons.com: - add dependencies on the supported architectures to avoid build failures on ARM and other unsupported arches - add a patch that removes an useless warning about the kernel version. This patch is present upstream. However since it modifies configure.ac, we need to autoreconf the package.] Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sysprof/sysprof-01-fix-kernel-version-warning.patch')
-rw-r--r--package/sysprof/sysprof-01-fix-kernel-version-warning.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/sysprof/sysprof-01-fix-kernel-version-warning.patch b/package/sysprof/sysprof-01-fix-kernel-version-warning.patch
new file mode 100644
index 000000000..7b45b3088
--- /dev/null
+++ b/package/sysprof/sysprof-01-fix-kernel-version-warning.patch
@@ -0,0 +1,26 @@
+From 6a5dfd385ca86b9e40b1a73237408f76b671b490 Mon Sep 17 00:00:00 2001
+From: Pauli Nieminen <suokkos@gmail.com>
+Date: Mon, 09 Apr 2012 18:12:59 +0000
+Subject: Don't complain about old kernel for 3.0+ kernels
+
+Linux kernel version received bump to 3.0 that causes configure to
+complain about older kernel. To avoid the warning configure needs to
+check major and minor versions before micro.
+
+Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
+---
+diff --git a/configure.ac b/configure.ac
+index 34fdc43..e4f6d5d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -83,7 +83,7 @@ Makefile
+
+ AC_OUTPUT
+
+-if [[ $KMICRO -lt 31 ]] ; then
++if [[ $KMAJOR -eq 2 -a $KMINOR -eq 6 -a $KMICRO -lt 31 ]] ; then
+ echo
+ echo "%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%"
+ echo "@"
+--
+cgit v0.9.0.2