From e7df335e26bfe2b4f1c421e6b59f50e87a43df7b Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Fri, 13 Nov 2009 15:02:26 +0100 Subject: [PATCH] uclibc: backport fix for conflicting getline definitions Signed-off-by: Marc Andre Tanner --- .../patches/uClibc-fix-unifdef-compilation.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sources/patches/uClibc-fix-unifdef-compilation.patch diff --git a/sources/patches/uClibc-fix-unifdef-compilation.patch b/sources/patches/uClibc-fix-unifdef-compilation.patch new file mode 100644 index 0000000..5b3e1fb --- /dev/null +++ b/sources/patches/uClibc-fix-unifdef-compilation.patch @@ -0,0 +1,29 @@ +--- uClibc/extra/scripts/unifdef.c 2008-04-28 01:10:00.000000000 +0200 ++++ uClibc-working/extra/scripts/unifdef.c 2009-11-13 15:02:29.000000000 +0100 +@@ -206,7 +206,7 @@ + static void error(const char *); + static int findsym(const char *); + static void flushline(bool); +-static Linetype getline(void); ++static Linetype get_line(void); + static Linetype ifeval(const char **); + static void ignoreoff(void); + static void ignoreon(void); +@@ -512,7 +512,7 @@ + + for (;;) { + linenum++; +- lineval = getline(); ++ lineval = get_line(); + trans_table[ifstate[depth]][lineval](); + debug("process %s -> %s depth %d", + linetype_name[lineval], +@@ -526,7 +526,7 @@ + * help from skipcomment(). + */ + static Linetype +-getline(void) ++get_line(void) + { + const char *cp; + int cursym; -- 2.11.4.GIT