diff options
author | Graeme Gregory <dp@xora.org.uk> | 2009-05-02 11:34:57 +0100 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-05-02 11:34:57 +0100 |
commit | 91c920197a372f6174530a178f7a9beb995e827d (patch) | |
tree | 4a72def3a625c339ac73f8d9b0d31f9cd585fcbc /recipes/uclibc/files | |
parent | f8f9b7e4b46979691a5813361b3d4ecba50a20eb (diff) |
uclibc_0.9.30.bb : add fix for unifdef for modern gcc/glibc combos.
This is probably suitable for all uclibc when someone tests them.
Diffstat (limited to 'recipes/uclibc/files')
-rw-r--r-- | recipes/uclibc/files/unifdef-fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/uclibc/files/unifdef-fix.patch b/recipes/uclibc/files/unifdef-fix.patch new file mode 100644 index 0000000000..49984f04da --- /dev/null +++ b/recipes/uclibc/files/unifdef-fix.patch @@ -0,0 +1,31 @@ +Index: uClibc-0.9.30/extra/scripts/unifdef.c +=================================================================== +--- uClibc-0.9.30.orig/extra/scripts/unifdef.c ++++ uClibc-0.9.30/extra/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; |