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

commit d304aa2887892ff456d1edc2d6b139ba3311a912
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Jun 3 14:44:10 2009 +0200

xmoto-0.5.1-2-i686

- add xmoto-0.5.1-gcc44.patch

diff --git a/source/games-extra/xmoto/FrugalBuild 
b/source/games-extra/xmoto/FrugalBuild
index 70ea225..88e3913 100644
--- a/source/games-extra/xmoto/FrugalBuild
+++ b/source/games-extra/xmoto/FrugalBuild
@@ -3,14 +3,15 @@

pkgname=xmoto
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
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>=7.19.0' 'lua' 'sqlite3' 'sdl_ttf' 'sdl_net')
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
 \
+       xmoto-0.5.1-gcc44.patch)

build()
{
@@ -21,4 +22,5 @@ build()
Ficonrel xmoto.xpm
}
# optimization OK
-sha1sums=('36bac38d9f87ffbba337a0589de87b5408d734e8')
+sha1sums=('36bac38d9f87ffbba337a0589de87b5408d734e8' \
+          '51bc7e2dce10b60e81db5a02b5041c130b4dcd4e')
diff --git a/source/games-extra/xmoto/xmoto-0.5.1-gcc44.patch 
b/source/games-extra/xmoto/xmoto-0.5.1-gcc44.patch
new file mode 100644
index 0000000..3ec6641
--- /dev/null
+++ b/source/games-extra/xmoto/xmoto-0.5.1-gcc44.patch
@@ -0,0 +1,36 @@
+diff -urp xmoto-0.5.1.orig/src/XMArgs.cpp xmoto-0.5.1/src/XMArgs.cpp
+--- xmoto-0.5.1.orig/src/XMArgs.cpp    2009-05-31 02:43:52.000000000 +0400
++++ xmoto-0.5.1/src/XMArgs.cpp 2009-05-31 02:45:14.000000000 +0400
+@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "VFileIO.h"
+ #include <sstream>
+ #include <stdlib.h>
++#include <stdio.h>
+
+ XMArguments::XMArguments() {
+   m_opt_pack                 = false;
+diff -urp xmoto-0.5.1.orig/src/helpers/Log.cpp xmoto-0.5.1/src/helpers/Log.cpp
+--- xmoto-0.5.1.orig/src/helpers/Log.cpp       2009-05-31 02:43:52.000000000 
+0400
++++ xmoto-0.5.1/src/helpers/Log.cpp    2009-05-31 02:47:51.000000000 +0400
+@@ -21,8 +21,9 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "Log.h"
+ #include "VExcept.h"
+ #include "../VFileIO.h"
+-#include "assert.h"
++#include <assert.h>
+ #include <stdarg.h>
++#include <stdio.h>
+
+ bool  Logger::m_isInitialized = false;
+ bool  Logger::m_activ         = true;
+diff -urp xmoto-0.5.1.orig/src/helpers/Text.cpp 
xmoto-0.5.1/src/helpers/Text.cpp
+--- xmoto-0.5.1.orig/src/helpers/Text.cpp      2009-05-31 02:43:52.000000000 
+0400
++++ xmoto-0.5.1/src/helpers/Text.cpp   2009-05-31 02:46:21.000000000 +0400
+@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ 
=============================================================================*/
+
+ #include "Text.h"
++#include <stdio.h>
+
+ std::string txtToLower(const std::string& i_str) {
+     std::string v_res;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to