summaryrefslogtreecommitdiff
path: root/games/odamex/gcc47.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-09-21 06:41:11 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:46 -0500
commit4bd9ab40eaf44d5cc160d98d9b74c57dcaf358df (patch)
treed881b5a10c492e3c7eaec7b8f9f669c2d9a4e981 /games/odamex/gcc47.diff
parent8a92061525b5e777372fb88b8cb0ae2636759de4 (diff)
downloadslackbuilds-4bd9ab40eaf44d5cc160d98d9b74c57dcaf358df.tar.gz
games/odamex: Fix for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/odamex/gcc47.diff')
-rw-r--r--games/odamex/gcc47.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/odamex/gcc47.diff b/games/odamex/gcc47.diff
new file mode 100644
index 0000000000..880f5426b5
--- /dev/null
+++ b/games/odamex/gcc47.diff
@@ -0,0 +1,11 @@
+diff -Naur odamex-src-0.5.6/odalpapi/net_io.cpp odamex-src-0.5.6.patched/odalpapi/net_io.cpp
+--- odamex-src-0.5.6/odalpapi/net_io.cpp 2011-11-04 23:59:42.000000000 -0400
++++ odamex-src-0.5.6.patched/odalpapi/net_io.cpp 2012-09-20 02:19:30.000000000 -0400
+@@ -27,6 +27,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <cstdio>
++#include <unistd.h>
+ #include <cstdlib>
+ #include <cstring>
+ #include <cstdarg>