diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/uclibc/files/unifdef-fix.patch | 31 | ||||
-rw-r--r-- | recipes/uclibc/uclibc_0.9.30.bb | 1 |
2 files changed, 32 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; diff --git a/recipes/uclibc/uclibc_0.9.30.bb b/recipes/uclibc/uclibc_0.9.30.bb index 0a374ceb50..317edf03a9 100644 --- a/recipes/uclibc/uclibc_0.9.30.bb +++ b/recipes/uclibc/uclibc_0.9.30.bb @@ -20,6 +20,7 @@ SRC_URI += "file://uClibc.machine file://uClibc.distro \ file://pthread_atfork.patch;patch=1 \ file://uclibc_ldso_use_O0.patch;patch=1 \ file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch;patch=1 \ + file://unifdef-fix.patch;patch=1 \ " #recent versions uclibc require real kernel headers PACKAGE_ARCH = "${MACHINE_ARCH}" |