3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- glib-1.2.10/gstrfuncs.c~gcc-3.4-pretty_function
7 +++ glib-1.2.10/gstrfuncs.c
9 /* beware of positional parameters
12 - g_warning (G_GNUC_PRETTY_FUNCTION
13 - "(): unable to handle positional parameters (%%n$)");
14 + g_warning ("%s(): unable to handle positional parameters (%%n$)",G_GNUC_PRETTY_FUNCTION);
15 len += 1024; /* try adding some safety padding */
19 /* n . dddddddddddddddddddddddd E +- eeee */
20 conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
21 if (spec.mod_extra_long)
22 - g_warning (G_GNUC_PRETTY_FUNCTION
23 - "(): unable to handle long double, collecting double only");
24 + g_warning ("%s(): unable to handle long double, collecting double only",G_GNUC_PRETTY_FUNCTION);
25 #ifdef HAVE_LONG_DOUBLE
26 #error need to implement special handling for long double
32 - g_warning (G_GNUC_PRETTY_FUNCTION
33 - "(): unable to handle wide char strings");
34 + g_warning ( "%s(): unable to handle wide char strings",G_GNUC_PRETTY_FUNCTION);
35 len += 1024; /* try adding some safety padding */
39 conv_len += format - spec_start;
42 - g_warning (G_GNUC_PRETTY_FUNCTION
43 - "(): unable to handle `%c' while parsing format",
44 + g_warning ("%s(): unable to handle `%c' while parsing format",G_GNUC_PRETTY_FUNCTION,