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

commit abd45e738d019c5ed4d0323e85beb59aef2abfbf
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri May 21 11:31:36 2010 +0000

enigma-1.01-2-i686
*rebuild with new libs

diff --git a/source/games-extra/enigma/FrugalBuild 
b/source/games-extra/enigma/FrugalBuild
index 4717fef..da32c95 100644
--- a/source/games-extra/enigma/FrugalBuild
+++ b/source/games-extra/enigma/FrugalBuild
@@ -3,18 +3,20 @@

pkgname=enigma
pkgver=1.01
-pkgrel=1
+pkgrel=2
pkgdesc="Enigma is a puzzle game inspired by Oxyd on the Atari ST and Rock n 
Roll on the Amiga."
_F_berlios_dirname="enigma-game"
_F_berlios_ext="-64bit.tar.gz"
_F_gnome_iconcache="y"
Finclude berlios
-source=($source Fix_GCC.4.3.diff)
-depends=('sdl>=1.2' 'sdl_ttf>=2.0.6' 'sdl_mixer>=1.2.4' 'sdlimage>=1.2.0' 
'xerces-c>=2.4')
+source=($source Fix_GCC.4.3.diff gcc44.diff)
+depends=('sdl>=1.2' 'sdl_ttf>=2.0.6' 'sdl_mixer>=1.2.4' \
+       'sdlimage>=1.2.10-2' 'xerces-c>=2.4')
groups=('games-extra')
archs=('i686' 'x86_64')
sha1sums=('2f9f5aaf3d233c248d818c3a2fd5ea873d34135f' \
-          '9c78ad87eb707f6d8846fa31718bf539ff5510e1')
+          '9c78ad87eb707f6d8846fa31718bf539ff5510e1' \
+          '1f698c08107bb0b2dedab22dbcaee057a04ca409')
build()
{
Fbuild
diff --git a/source/games-extra/enigma/gcc44.diff 
b/source/games-extra/enigma/gcc44.diff
new file mode 100644
index 0000000..479de23
--- /dev/null
+++ b/source/games-extra/enigma/gcc44.diff
@@ -0,0 +1,52 @@
+--- src/PropertyManager.cc.old 2009-05-22 10:50:04.000000000 +0200
++++ src/PropertyManager.cc     2009-05-22 10:50:30.000000000 +0200
+@@ -28,6 +28,7 @@
+ #include "XMLtoLocal.hh"
+ #include "XMLtoUtf8.hh"
+ #include "ecl_system.hh"
++#include <cstdio>
+ #include <iostream>
+ #include <xercesc/dom/DOM.hpp>
+ #include <xercesc/util/XMLDouble.hpp>
+--- src/StateManager.cc.old    2009-05-22 10:52:13.000000000 +0200
++++ src/StateManager.cc        2009-05-22 10:52:38.000000000 +0200
+@@ -31,6 +31,7 @@
+ #include "XMLtoUtf8.hh"
+ #include "ecl_system.hh"
+ #include "gui/ErrorMenu.hh"
++#include <cstdio>
+ #include <iostream>
+ #include <sstream>
+ #include <xercesc/dom/DOM.hpp>
+--- src/gui/LevelPackComposer.cc.old   2009-05-22 10:53:46.000000000 +0200
++++ src/gui/LevelPackComposer.cc       2009-05-22 10:54:24.000000000 +0200
+@@ -28,6 +28,7 @@
+ #include "lev/Index.hh"
+
+ #include "main.hh"
++#include <cstdio>
+
+ using namespace ecl;
+ using namespace std;
+--- src/lev/Index.cc.old       2009-05-22 10:55:16.000000000 +0200
++++ src/lev/Index.cc   2009-05-22 10:55:41.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include "StateManager.hh"
+ #include "lev/ScoreManager.hh"
+ #include "lev/RatingManager.hh"
++#include <cstdio>
+
+
+ namespace enigma { namespace lev {
+--- src/lua.cc.old     2009-05-28 09:43:36.000000000 +0200
++++ src/lua.cc 2009-05-28 09:44:22.000000000 +0200
+@@ -574,7 +574,7 @@
+     int         y       = round_down<int>(lua_tonumber(L, 2));
+     const char *dir     = lua_tostring(L,3);
+     const char *allowed = "wsen";
+-    char       *found   = strchr(allowed, dir[0]);
++    const char *found   = strchr(allowed, dir[0]);
+
+     if (found && found[0])
+         world::AddScramble(GridPos(x,y), enigma::Direction(found-allowed));
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to