[oe-commits] Paul Eggleton : linux-handhelds: fix compilation error due to missing include

GIT User account git at amethyst.openembedded.net
Sat Nov 15 13:08:03 UTC 2008


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

Author: Paul Eggleton <bluelightning at bluelightning.org>
Date:   Sat Nov 15 13:01:55 2008 +0000

linux-handhelds: fix compilation error due to missing include
Add missing include of linux/limits.h. Fixes bug #4344.

---

 .../linux-handhelds-2.6-2.6.21/gcc4x-limits.patch  |   10 ++++++++++
 packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb  |    3 ++-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch b/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch
new file mode 100644
index 0000000..02f3a5d
--- /dev/null
+++ b/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch
@@ -0,0 +1,10 @@
+--- linux/scripts/mod/sumversion.c.orig	2008-11-15 12:22:04.000000000 +0000
++++ linux/scripts/mod/sumversion.c	2008-11-15 12:22:21.000000000 +0000
+@@ -7,6 +7,7 @@
+ #include <ctype.h>
+ #include <errno.h>
+ #include <string.h>
++#include <linux/limits.h>
+ #include "modpost.h"
+ 
+ /*
diff --git a/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb b/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb
index 3df1102..7fbc286 100644
--- a/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb
+++ b/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb
@@ -1,7 +1,7 @@
 SECTION = "kernel"
 DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
 LICENSE = "GPL"
-PR = "r20"
+PR = "r21"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -12,6 +12,7 @@ FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAM
 SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \
            file://linux-2.6.git-9d20fdd58e74d4d26dc5216efaaa0f800c23dd3a.patch;patch=1 \
            http://www.rpsys.net/openzaurus/patches/archive/export_atags-r0a.patch;patch=1 \
+           file://gcc4x-limits.patch;patch=1 \
 	   file://defconfig"
 
 require linux-handhelds-2.6.inc





More information about the Openembedded-commits mailing list