Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6246a108e6a67d517de71ff084d0745a6abcddfc
commit 6246a108e6a67d517de71ff084d0745a6abcddfc Author: gholafox <[EMAIL PROTECTED]> Date: Mon Sep 29 19:26:55 2008 +0200 enigma-1.01-1-i686 New package diff --git a/source/games-extra/enigma/Fix_GCC.4.3.diff b/source/games-extra/enigma/Fix_GCC.4.3.diff new file mode 100644 index 0000000..b9d2f33 --- /dev/null +++ b/source/games-extra/enigma/Fix_GCC.4.3.diff @@ -0,0 +1,42 @@ +--- enigma-1.01/src/gui/widgets.cc~ 2007-03-04 21:06:31.000000000 +0000 ++++ enigma-1.01/src/gui/widgets.cc 2007-03-04 21:13:34.000000000 +0000 +@@ -28,6 +28,7 @@ + #include <cassert> + #include <algorithm> + #include <iostream> ++#include <limits.h> + + using namespace enigma::gui; + using namespace ecl; +--- enigma-1.01/lib-src/enigma-core/ecl_util.hh~ 2007-03-04 20:38:24.000000000 +0000 ++++ enigma-1.01/lib-src/enigma-core/ecl_util.hh 2007-03-04 20:55:44.000000000 +0000 +@@ -20,6 +20,7 @@ + #define ECL_UTIL_HH_INCLUDED + + #include <string> ++#include <algorithm> + + /* hide GNU extensions for non-gnu compilers: */ + #ifndef __GNU__ +--- enigma-1.01/src/file.hh 2007-04-03 23:12:49.000000000 +0000 ++++ enigma-1.01/src/file.hh 2008-03-18 04:48:51.000000000 +0000 +@@ -22,6 +22,7 @@ + #include <iosfwd> + #include <vector> + #include <list> ++#include <memory> + #include "ecl_error.hh" + + namespace enigma +--- enigma-1.01/src/Utf8ToXML.cc 2006-09-03 19:15:33.000000000 +0000 ++++ enigma-1.01/src/Utf8ToXML.cc 2008-03-18 04:49:15.000000000 +0000 +@@ -21,6 +21,7 @@ + #include "main.hh" + #include <xercesc/util/XMLString.hpp> + #include <xercesc/util/TransService.hpp> ++#include <cstring> + + XERCES_CPP_NAMESPACE_USE + +# patch from Gentoo by Martin Väth: +# http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc43.patch?rev=1.1&view=log diff --git a/source/games-extra/enigma/FrugalBuild b/source/games-extra/enigma/FrugalBuild new file mode 100644 index 0000000..4bfda64 --- /dev/null +++ b/source/games-extra/enigma/FrugalBuild @@ -0,0 +1,25 @@ +# Compiling Time: 1.42 SBU +# Maintainer: gholafox <[EMAIL PROTECTED]> + +pkgname=enigma +pkgver=1.01 +pkgrel=1 +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') +groups=('games-extra') +archs=('i686') +sha1sums=('2f9f5aaf3d233c248d818c3a2fd5ea873d34135f' \ + '9c78ad87eb707f6d8846fa31718bf539ff5510e1') +build() + { + Fbuild + + #move documentation because the --docdir option doesn't work + Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver + } +# optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
