summaryrefslogtreecommitdiff
path: root/games/warmux/gcc47.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-01 16:45:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 20:11:48 -0500
commitcec74f1c3afb0f1042651e4694176e6e7f90091f (patch)
tree3d665e18699b7d132030cc7d04e385804a0effa3 /games/warmux/gcc47.patch
parente180c42c147e221a686bc5c55e549066acb35d32 (diff)
downloadslackbuilds-cec74f1c3afb0f1042651e4694176e6e7f90091f.tar.gz
games/warmux: Added a patch for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/warmux/gcc47.patch')
-rw-r--r--games/warmux/gcc47.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/warmux/gcc47.patch b/games/warmux/gcc47.patch
new file mode 100644
index 0000000000..e51801a369
--- /dev/null
+++ b/games/warmux/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>