summaryrefslogtreecommitdiff
path: root/meta/packages/linux-libc-headers/files
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-04-28 11:39:38 +0100
committerMarcin Juszkiewicz <marcin@buglabs.net>2009-10-22 14:49:11 +0200
commit559cb333d00e09f88a520ad01e4d7204192b1376 (patch)
treeda004dcef5d9cc4ebaef339bf469f99c8b9b05ca /meta/packages/linux-libc-headers/files
parent908fa822447de9d5043dc66cabc2ca5591791f01 (diff)
downloadopenembedded-core-559cb333d00e09f88a520ad01e4d7204192b1376.tar.gz
openembedded-core-559cb333d00e09f88a520ad01e4d7204192b1376.tar.bz2
openembedded-core-559cb333d00e09f88a520ad01e4d7204192b1376.zip
linux-libc-headers_2.6.20.bb : more modern glibc expose getline from stdio.h rename the function so not to cause a clash
Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
Diffstat (limited to 'meta/packages/linux-libc-headers/files')
-rw-r--r--meta/packages/linux-libc-headers/files/unifdef.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/linux-libc-headers/files/unifdef.patch b/meta/packages/linux-libc-headers/files/unifdef.patch
new file mode 100644
index 0000000000..bda8860009
--- /dev/null
+++ b/meta/packages/linux-libc-headers/files/unifdef.patch
@@ -0,0 +1,31 @@
+Index: linux-2.6.20/scripts/unifdef.c
+===================================================================
+--- linux-2.6.20.orig/scripts/unifdef.c
++++ linux-2.6.20/scripts/unifdef.c
+@@ -206,7 +206,7 @@ static void done(void);
+ static void error(const char *);
+ static int findsym(const char *);
+ static void flushline(bool);
+-static Linetype getline(void);
++static Linetype parseline(void);
+ static Linetype ifeval(const char **);
+ static void ignoreoff(void);
+ static void ignoreon(void);
+@@ -512,7 +512,7 @@ process(void)
+
+ for (;;) {
+ linenum++;
+- lineval = getline();
++ lineval = parseline();
+ trans_table[ifstate[depth]][lineval]();
+ debug("process %s -> %s depth %d",
+ linetype_name[lineval],
+@@ -526,7 +526,7 @@ process(void)
+ * help from skipcomment().
+ */
+ static Linetype
+-getline(void)
++parseline(void)
+ {
+ const char *cp;
+ int cursym;