diff options
| author | Graeme Gregory <dp@xora.org.uk> | 2009-04-28 11:39:38 +0100 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-10-22 14:49:11 +0200 |
| commit | 559cb333d00e09f88a520ad01e4d7204192b1376 (patch) | |
| tree | da004dcef5d9cc4ebaef339bf469f99c8b9b05ca /meta/packages/linux-libc-headers/files/unifdef.patch | |
| parent | 908fa822447de9d5043dc66cabc2ca5591791f01 (diff) | |
| download | poky-559cb333d00e09f88a520ad01e4d7204192b1376.tar.gz | |
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/unifdef.patch')
| -rw-r--r-- | meta/packages/linux-libc-headers/files/unifdef.patch | 31 |
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 @@ | |||
| 1 | Index: linux-2.6.20/scripts/unifdef.c | ||
| 2 | =================================================================== | ||
| 3 | --- linux-2.6.20.orig/scripts/unifdef.c | ||
| 4 | +++ linux-2.6.20/scripts/unifdef.c | ||
| 5 | @@ -206,7 +206,7 @@ static void done(void); | ||
| 6 | static void error(const char *); | ||
| 7 | static int findsym(const char *); | ||
| 8 | static void flushline(bool); | ||
| 9 | -static Linetype getline(void); | ||
| 10 | +static Linetype parseline(void); | ||
| 11 | static Linetype ifeval(const char **); | ||
| 12 | static void ignoreoff(void); | ||
| 13 | static void ignoreon(void); | ||
| 14 | @@ -512,7 +512,7 @@ process(void) | ||
| 15 | |||
| 16 | for (;;) { | ||
| 17 | linenum++; | ||
| 18 | - lineval = getline(); | ||
| 19 | + lineval = parseline(); | ||
| 20 | trans_table[ifstate[depth]][lineval](); | ||
| 21 | debug("process %s -> %s depth %d", | ||
| 22 | linetype_name[lineval], | ||
| 23 | @@ -526,7 +526,7 @@ process(void) | ||
| 24 | * help from skipcomment(). | ||
| 25 | */ | ||
| 26 | static Linetype | ||
| 27 | -getline(void) | ||
| 28 | +parseline(void) | ||
| 29 | { | ||
| 30 | const char *cp; | ||
| 31 | int cursym; | ||
