diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-13 15:11:27 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-13 15:11:27 +0000 |
commit | 3ce0f2180809f6e79ba77264143a3d1b824a8d54 (patch) | |
tree | 20e1ada1d8086dd795eda0a0236243d21c6aaeba /devel/glib12/files/patch-gstrfuncs.c | |
parent | - Chase the recent sweep of port revision bumps (diff) |
devel/glib12 x11-toolkits/gtk12:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove patches that renamed include directories and libraries so they
didn't conflict with early development versions of glib/gtk 2.0
Diffstat (limited to 'devel/glib12/files/patch-gstrfuncs.c')
-rw-r--r-- | devel/glib12/files/patch-gstrfuncs.c | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/devel/glib12/files/patch-gstrfuncs.c b/devel/glib12/files/patch-gstrfuncs.c index eb5957f900fa..9f18f738f56d 100644 --- a/devel/glib12/files/patch-gstrfuncs.c +++ b/devel/glib12/files/patch-gstrfuncs.c @@ -1,41 +1,46 @@ --- gstrfuncs.c.orig 2001-02-27 07:00:22.000000000 +0100 +++ gstrfuncs.c 2004-03-01 13:19:49.531603760 +0100 -@@ -867,7 +867,7 @@ +@@ -867,8 +867,8 @@ g_printf_string_upper_bound (const gchar /* beware of positional parameters */ case '$': - g_warning (G_GNUC_PRETTY_FUNCTION -+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION, - "(): unable to handle positional parameters (%%n$)"); +- "(): 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,7 +1034,7 @@ + +@@ -1034,8 +1034,8 @@ g_printf_string_upper_bound (const gchar /* 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 -+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION, - "(): unable to handle long double, collecting double only"); +- "(): 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 -@@ -1077,7 +1077,7 @@ + #endif +@@ -1077,8 +1077,8 @@ g_printf_string_upper_bound (const gchar conv_done = TRUE; if (spec.mod_long) { - g_warning (G_GNUC_PRETTY_FUNCTION -+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION, - "(): unable to handle wide char strings"); +- "(): 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 */ } -@@ -1108,9 +1108,8 @@ + break; +@@ -1108,8 +1108,8 @@ g_printf_string_upper_bound (const gchar conv_len += format - spec_start; break; default: - g_warning (G_GNUC_PRETTY_FUNCTION - "(): unable to handle `%c' while parsing format", -- c); -+ g_warning ("%s(): unable to handle `%c' while parsing format", -+ G_GNUC_PRETTY_FUNCTION, c); ++ g_warning ("%s: unable to handle `%c' while parsing format", ++ G_GNUC_PRETTY_FUNCTION, + c); break; } - conv_done |= conv_len > 0; |