summaryrefslogtreecommitdiff
path: root/libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-17 19:02:02 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-19 19:54:51 +0100
commit067f8abfce6cfa9902ef9e9a6385e9ae214a8726 (patch)
tree2fd171e76cbb2db20763a6fddaa8c18b56f81462 /libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch
parentf016242dfedf8bc4706c4977178b689a24630ae3 (diff)
downloadslackbuilds-067f8abfce6cfa9902ef9e9a6385e9ae214a8726.tar.gz
libraries/SDL_Pango: Add a few more fixes from Fedora.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch')
-rw-r--r--libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch b/libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch
new file mode 100644
index 0000000000..99af98169c
--- /dev/null
+++ b/libraries/SDL_Pango/SDL_Pango-0.1.2-suppress-warning.patch
@@ -0,0 +1,13 @@
+--- 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;