summaryrefslogtreecommitdiff
path: root/community/xmoto
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmoto')
-rw-r--r--community/xmoto/PKGBUILD4
-rw-r--r--community/xmoto/unistd.patch12
2 files changed, 14 insertions, 2 deletions
diff --git a/community/xmoto/PKGBUILD b/community/xmoto/PKGBUILD
index 685a94b44..0c958c2bd 100644
--- a/community/xmoto/PKGBUILD
+++ b/community/xmoto/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=xmoto
pkgver=0.5.10
-pkgrel=3
+pkgrel=3.1
pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xmoto.tuxfamily.org"
license=('GPL')
depends=('libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl'
diff --git a/community/xmoto/unistd.patch b/community/xmoto/unistd.patch
new file mode 100644
index 000000000..5cc765449
--- /dev/null
+++ b/community/xmoto/unistd.patch
@@ -0,0 +1,12 @@
+*** src/helpers/System.cpp 2011-10-11 22:18:14.000000000 +0200
+--- src/helpers/System2.cpp 2012-06-10 12:13:10.899345562 +0200
+***************
+*** 24,29 ****
+--- 24,30 ----
+ #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>;