[oe-commits] Jrg Bakker : linux-epia: Add patch to include <limits.h> in scripts/mod/ sumversion.c

GIT User account git at amethyst.openembedded.net
Mon Mar 30 20:57:18 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 164dfba075ca48f52dd616e40fb700ea466d71bd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=164dfba075ca48f52dd616e40fb700ea466d71bd

Author: Jrg Bakker <joerg at hakker.de>
Date:   Mon Mar 30 13:54:24 2009 -0700

linux-epia: Add patch to include <limits.h> in scripts/mod/sumversion.c

---

 recipes/linux/files/linux-2.6-limits.patch |   10 ++++++++++
 recipes/linux/linux-epia_2.6.19.2.bb       |    3 ++-
 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 0000000..777a2fa
--- /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 29f53a4..ce253c4 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'





More information about the Openembedded-commits mailing list