summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch')
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch
new file mode 100644
index 000000000000..0ce375c1a86c
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch
@@ -0,0 +1,16 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sat Jul 14 20:55:35 UTC 2012
+Subject: fix compilation on gcc-4.7
+
+https://bugs.gentoo.org/show_bug.cgi?id=426612
+
+--- simulation/metaserver.cpp
++++ simulation/metaserver.cpp
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+ #include <cstdio>
+ #include <cstdlib>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>