summaryrefslogtreecommitdiff
path: root/games/warmux/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/warmux/patches')
-rw-r--r--games/warmux/patches/gcc47.patch9
-rw-r--r--games/warmux/patches/include-zlib.patch11
2 files changed, 20 insertions, 0 deletions
diff --git a/games/warmux/patches/gcc47.patch b/games/warmux/patches/gcc47.patch
new file mode 100644
index 0000000000..e51801a369
--- /dev/null
+++ b/games/warmux/patches/gcc47.patch
@@ -0,0 +1,9 @@
+diff -Naur warmux-11.04.orig/tools/list_games/main.cpp warmux-11.04/tools/list_games/main.cpp
+--- warmux-11.04.orig/tools/list_games/main.cpp 2011-04-28 21:03:12.000000000 +0200
++++ warmux-11.04/tools/list_games/main.cpp 2012-04-01 10:03:27.752999997 +0200
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <unistd.h>
+ #include <WARMUX_types.h>
+ #include <WARMUX_network.h>
+ #include <WARMUX_index_server.h>
diff --git a/games/warmux/patches/include-zlib.patch b/games/warmux/patches/include-zlib.patch
new file mode 100644
index 0000000000..c7e77aba11
--- /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"