From 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2012 23:14:50 +0000 Subject: Mon Feb 6 23:14:50 UTC 2012 --- community/xmoto/PKGBUILD | 12 ++++++++---- community/xmoto/xmoto-0.5.9-libpng15.patch | 10 ++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 community/xmoto/xmoto-0.5.9-libpng15.patch (limited to 'community/xmoto') diff --git a/community/xmoto/PKGBUILD b/community/xmoto/PKGBUILD index 64a776beb..0a865690d 100644 --- a/community/xmoto/PKGBUILD +++ b/community/xmoto/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 64796 2010-01-22 08:19:26Z eric $ +# $Id: $ # Maintainer: Ronald van Haren # Contributor: Travis Willard # Contributor: Denis (dtonator@gmail.com) pkgname=xmoto -pkgver=0.5.8 +pkgver=0.5.9 pkgrel=1 pkgdesc="A challenging 2D motocross platform game, where physics play an important role." arch=('i686' 'x86_64') @@ -13,12 +13,16 @@ license=('GPL') depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11.1' 'curl' 'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'libxdg-basedir' 'libxml++') install=xmoto.install -source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz") -sha1sums=('a5197e10f0c37cfefbab55723c8d0760234fb4ce') +source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz" + 'xmoto-0.5.9-libpng15.patch') +sha1sums=('07757accce78151dc8873bef8270df0e56196772' + '27f52bd30772f67898e0bfd8c1e12478a4848192') build() { cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i "${srcdir}/xmoto-0.5.9-libpng15.patch" + # build and install ./configure LDFLAGS="-L/usr/lib" --prefix=/usr --disable-sdltest diff --git a/community/xmoto/xmoto-0.5.9-libpng15.patch b/community/xmoto/xmoto-0.5.9-libpng15.patch new file mode 100644 index 000000000..0410c81c5 --- /dev/null +++ b/community/xmoto/xmoto-0.5.9-libpng15.patch @@ -0,0 +1,10 @@ +--- a/src/image/tim_png.cpp 2011-10-11 22:18:11.000000000 +0200 ++++ b/src/image/tim_png.cpp 2012-01-19 19:58:24.000000000 +0100 +@@ -24,6 +24,7 @@ + */ + #include + #include ++#include + #include "tim.h" + #include "png.h" + -- cgit v1.2.3-54-g00ecf