summaryrefslogtreecommitdiffstats
path: root/games/xmoto/gcc-4.7.patch
diff options
context:
space:
mode:
author Alex Word <alex_word86@yahoo.com>2012-08-10 00:13:06 -0500
committer Robby Workman <rworkman@slackbuilds.org>2012-08-10 00:13:06 -0500
commit93c2913f073033641d769f058745b59b21940301 (patch)
tree5b6a112b009c084672a96a1b4419200445e62ca4 /games/xmoto/gcc-4.7.patch
parenta690c103d6b849b95156f4017684f6e6cb05f522 (diff)
downloadslackbuilds-93c2913f073033641d769f058745b59b21940301.tar.gz
slackbuilds-93c2913f073033641d769f058745b59b21940301.tar.xz
games/xmoto: Updated for version 0.5.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/xmoto/gcc-4.7.patch')
-rw-r--r--games/xmoto/gcc-4.7.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/xmoto/gcc-4.7.patch b/games/xmoto/gcc-4.7.patch
new file mode 100644
index 0000000000..59a6d8d974
--- /dev/null
+++ b/games/xmoto/gcc-4.7.patch
@@ -0,0 +1,10 @@
+--- a/src/helpers/System.cpp 2011-10-11 22:18:14.000000000 +0200
++++ b/src/helpers/System.cpp 2012-07-21 21:28:40.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include <sstream>
++#include <unistd.h>
+
+ std::vector<std::string>* System::getDisplayModes(int windowed) {
+ std::vector<std::string>* modes = new std::vector<std::string>;