aboutsummaryrefslogtreecommitdiff
path: root/games/warmux/patches/gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/warmux/patches/gcc47.patch')
-rw-r--r--games/warmux/patches/gcc47.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/warmux/patches/gcc47.patch b/games/warmux/patches/gcc47.patch
new file mode 100644
index 0000000000000..e51801a369bd6
--- /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>