aboutsummaryrefslogtreecommitdiff
path: root/games/warmux/patches/include-zlib.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-04-23 06:31:17 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3cd89eb224257a4f43e18973a7f11263fa393dc2 (patch)
tree1a8eb191fd83444814e0531b08c437717dc27f07 /games/warmux/patches/include-zlib.patch
parent4582e825b1ed28d6ae527706d86474bcbb965768 (diff)
games/warmux: Added a patch to explicitly include zlib header.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/warmux/patches/include-zlib.patch')
-rw-r--r--games/warmux/patches/include-zlib.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/warmux/patches/include-zlib.patch b/games/warmux/patches/include-zlib.patch
new file mode 100644
index 0000000000000..c7e77aba11c8e
--- /dev/null
+++ b/games/warmux/patches/include-zlib.patch
@@ -0,0 +1,11 @@
+diff -uNr warmux-11.04.orig/src/graphic/surface.cpp warmux-11.04/src/graphic/surface.cpp
+--- warmux-11.04.orig/src/graphic/surface.cpp 2011-09-19 09:26:52.392650465 +0200
++++ warmux-11.04/src/graphic/surface.cpp 2011-09-19 09:26:19.417648189 +0200
+@@ -25,6 +25,7 @@
+ #include <SDL_image.h>
+ #include <SDL_rotozoom.h>
+ #include <png.h>
++#include <zlib.h>
+
+ #include "graphic/surface.h"
+ #include "tool/math_tools.h"