slackbuilds_ponce/libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch
Heinz Wiesinger 067f8abfce libraries/SDL_Pango: Add a few more fixes from Fedora.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2013-11-19 19:54:51 +01:00

13 lines
506 B
Diff

--- SDL_Pango-0.1.2/src/SDL_Pango.c.warn 2004-12-10 18:06:33.000000000 +0900
+++ SDL_Pango-0.1.2/src/SDL_Pango.c 2006-09-23 22:49:42.000000000 +0900
@@ -437,6 +437,10 @@
PangoRectangle ink_rect;
int x_off = 0;
+ /* only suppress warning */
+ fg_color.red = fg_color.green = fg_color.blue = 0;
+ bg_color.red = bg_color.green = bg_color.blue = 0;
+
while (tmp_list) {
SDLPango_Matrix color_matrix = context->color_matrix;
PangoUnderline uline = PANGO_UNDERLINE_NONE;