diff options
author | root <root@rshg054.dnsready.net> | 2012-07-23 00:01:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-23 00:01:51 +0000 |
commit | 59475c73370c37becae97edfb8eb2fe4d56ef87f (patch) | |
tree | 74197d2d4fb263937551ef47d3becb39585e8991 /community/xmoto | |
parent | e4d2743138eaca146b1a01a7815facdb3d271d88 (diff) |
Mon Jul 23 00:01:51 UTC 2012
Diffstat (limited to 'community/xmoto')
-rw-r--r-- | community/xmoto/PKGBUILD | 17 | ||||
-rw-r--r-- | community/xmoto/system.cpp.patch | 10 | ||||
-rw-r--r-- | community/xmoto/xmoto-0.5.10-libpng15.patch | 10 |
3 files changed, 30 insertions, 7 deletions
diff --git a/community/xmoto/PKGBUILD b/community/xmoto/PKGBUILD index 79ffae8c1..94a49dfd5 100644 --- a/community/xmoto/PKGBUILD +++ b/community/xmoto/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 67382 2012-03-10 21:01:16Z giovanni $ +# $Id: PKGBUILD 74121 2012-07-21 19:56:28Z giovanni $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Travis Willard <travisw@wmpub.ca> # Contributor: Denis (dtonator@gmail.com) pkgname=xmoto -pkgver=0.5.9 -pkgrel=2 +pkgver=0.5.10 +pkgrel=1 pkgdesc="A challenging 2D motocross platform game, where physics play an important role." arch=('i686' 'x86_64') url="http://xmoto.tuxfamily.org" @@ -15,14 +15,17 @@ depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl' 'libxdg-basedir' 'libxml++') install=xmoto.install source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz" - 'xmoto-0.5.9-libpng15.patch') -sha1sums=('07757accce78151dc8873bef8270df0e56196772' - '27f52bd30772f67898e0bfd8c1e12478a4848192') + 'xmoto-0.5.10-libpng15.patch' + 'system.cpp.patch') +sha1sums=('692d50a9c91791cd06ee84846632651b44544fcc' + '9d13fa09f1c558a0fc504f7e7b1ceac6b4b7b20d' + 'e741f769d1fc5779a6688970ee97e2a61a50c7ae') build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i "${srcdir}/xmoto-0.5.9-libpng15.patch" + patch -Np1 -i "${srcdir}/xmoto-0.5.10-libpng15.patch" + patch -Np1 -i "${srcdir}/system.cpp.patch" # build and install ./configure LDFLAGS="-L/usr/lib" --prefix=/usr --disable-sdltest diff --git a/community/xmoto/system.cpp.patch b/community/xmoto/system.cpp.patch new file mode 100644 index 000000000..df42e3a7c --- /dev/null +++ b/community/xmoto/system.cpp.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>; diff --git a/community/xmoto/xmoto-0.5.10-libpng15.patch b/community/xmoto/xmoto-0.5.10-libpng15.patch new file mode 100644 index 000000000..aed175c7c --- /dev/null +++ b/community/xmoto/xmoto-0.5.10-libpng15.patch @@ -0,0 +1,10 @@ +--- a/src/image/tim_png.cpp 2011-12-29 22:13:37.000000000 +0100 ++++ b/src/image/tim_png.cpp 2012-07-21 21:36:34.000000000 +0200 +@@ -24,6 +24,7 @@ + */ + #include <stdio.h> + #include <string.h> ++#include <zlib.h> + #include "tim.h" + #include <png.h> + #include <zlib.h> |