summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-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'