summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorJrg Bakker <joerg@hakker.de>2009-03-30 13:54:24 -0700
committerTom Rini <trini@bill-the-cat.bloom.county>2009-03-30 13:54:24 -0700
commit164dfba075ca48f52dd616e40fb700ea466d71bd (patch)
tree5e634b8bf1f12cd5a7b0ab2b7edfee866cb83303 /recipes/linux
parent9fdd2e01e2f849aa6677dc6c1ec8e48444235c11 (diff)
linux-epia: Add patch to include <limits.h> in scripts/mod/sumversion.c
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/files/linux-2.6-limits.patch10
-rw-r--r--recipes/linux/linux-epia_2.6.19.2.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes/linux/files/linux-2.6-limits.patch b/recipes/linux/files/linux-2.6-limits.patch
new file mode 100644
index 0000000000..777a2fa671
--- /dev/null
+++ b/recipes/linux/files/linux-2.6-limits.patch
@@ -0,0 +1,10 @@
+--- linux/scripts/mod/sumversion.c.orig 2009-03-15 21:44:58.000000000 +0100
++++ linux/scripts/mod/sumversion.c 2009-03-15 21:44:58.000000000 +0100
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include "modpost.h"
++#include <linux/limits.h>
+
+ /*
+ * Stolen form Cryptographic API.
diff --git a/recipes/linux/linux-epia_2.6.19.2.bb b/recipes/linux/linux-epia_2.6.19.2.bb
index 29f53a4dae..ce253c45c6 100644
--- a/recipes/linux/linux-epia_2.6.19.2.bb
+++ b/recipes/linux/linux-epia_2.6.19.2.bb
@@ -6,7 +6,8 @@ PR = "r1"
KERNEL_CCSUFFIX = "-3.3.4"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
- file://epia_defconfig"
+ file://epia_defconfig \
+ file://linux-2.6-limits.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"
COMPATIBLE_HOST = 'i.86.*-linux'