Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d0d4a2c0e2509e6892064338f7f68ba9bc2103d3

commit d0d4a2c0e2509e6892064338f7f68ba9bc2103d3
Author: CSÉCSY László <[EMAIL PROTECTED]>
Date:   Fri Sep 26 18:36:39 2008 +0200

xmoto-0.4.2-3-i686
added a patch to be able to waste more time with new ode, source:
http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=460

diff --git a/source/games-extra/xmoto/FrugalBuild 
b/source/games-extra/xmoto/FrugalBuild
index d56e888..1263b0a 100644
--- a/source/games-extra/xmoto/FrugalBuild
+++ b/source/games-extra/xmoto/FrugalBuild
@@ -3,14 +3,14 @@

pkgname=xmoto
pkgver=0.4.2
-pkgrel=2
+pkgrel=3
pkgdesc="A challenging 2D motocross platform game."
url="http://xmoto.tuxfamily.org/";
depends=('sdl' 'libogg' 'libvorbis' 'libjpeg' 'ode>=0.10.1' 'sdl_mixer' 
'libpng' 'freeglut' 'curl' 'lua' 'sqlite3' 'sdl_ttf')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://xmoto.tuxfamily.org/dev/ChangeLog | grep -m1 
'X-Moto' | sed 's/.* \(.*\) .*/\1/'"
-source=(http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz)
+source=(http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz
 ode-0.10.1.patch)

build()
{
@@ -21,4 +21,5 @@ build()
Ficonrel xmoto.xpm
}
# optimization OK
-sha1sums=('4d73c7db5b423faf4e88d2d26db3da8da07ab712')
+sha1sums=('4d73c7db5b423faf4e88d2d26db3da8da07ab712' \
+         '537944a6b38869c172ef4811353214d8d804b57a')
diff --git a/source/games-extra/xmoto/ode-0.10.1.patch 
b/source/games-extra/xmoto/ode-0.10.1.patch
new file mode 100644
index 0000000..ce51281
--- /dev/null
+++ b/source/games-extra/xmoto/ode-0.10.1.patch
@@ -0,0 +1,11 @@
+diff -Naur xmoto-0.4.2-orig/src/xmscene/BikePlayer.cpp 
xmoto-0.4.2/src/xmscene/BikePlayer.cpp
+--- xmoto-0.4.2-orig/src/xmscene/BikePlayer.cpp        2008-03-14 
08:36:14.000000000 +0100
++++ xmoto-0.4.2/src/xmscene/BikePlayer.cpp     2008-09-26 18:17:26.000000000 
+0200
+@@ -146,6 +146,7 @@
+   m_bFirstPhysicsUpdate = true;
+
+   /* Setup ODE */
++  dInitODE();
+   m_WorldID = dWorldCreate();
+   dWorldSetERP(m_WorldID,PHYS_WORLD_ERP);
+   dWorldSetCFM(m_WorldID,PHYS_WORLD_CFM);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to