From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../glib-1.2-1.2.10/gcc-3.4-pretty_function | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function (limited to 'recipes/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function') diff --git a/recipes/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function b/recipes/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function new file mode 100644 index 0000000000..f69102549f --- /dev/null +++ b/recipes/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function @@ -0,0 +1,47 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- glib-1.2.10/gstrfuncs.c~gcc-3.4-pretty_function ++++ glib-1.2.10/gstrfuncs.c +@@ -867,8 +867,7 @@ + /* beware of positional parameters + */ + case '$': +- g_warning (G_GNUC_PRETTY_FUNCTION +- "(): unable to handle positional parameters (%%n$)"); ++ g_warning ("%s(): unable to handle positional parameters (%%n$)",G_GNUC_PRETTY_FUNCTION); + len += 1024; /* try adding some safety padding */ + break; + +@@ -1034,8 +1033,7 @@ + /* n . dddddddddddddddddddddddd E +- eeee */ + conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4; + if (spec.mod_extra_long) +- g_warning (G_GNUC_PRETTY_FUNCTION +- "(): unable to handle long double, collecting double only"); ++ g_warning ("%s(): unable to handle long double, collecting double only",G_GNUC_PRETTY_FUNCTION); + #ifdef HAVE_LONG_DOUBLE + #error need to implement special handling for long double + #endif +@@ -1077,8 +1075,7 @@ + conv_done = TRUE; + if (spec.mod_long) + { +- g_warning (G_GNUC_PRETTY_FUNCTION +- "(): unable to handle wide char strings"); ++ g_warning ( "%s(): unable to handle wide char strings",G_GNUC_PRETTY_FUNCTION); + len += 1024; /* try adding some safety padding */ + } + break; +@@ -1108,8 +1105,7 @@ + conv_len += format - spec_start; + break; + default: +- g_warning (G_GNUC_PRETTY_FUNCTION +- "(): unable to handle `%c' while parsing format", ++ g_warning ("%s(): unable to handle `%c' while parsing format",G_GNUC_PRETTY_FUNCTION, + c); + break; + } -- cgit v1.2.3