summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-12 01:48:05 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-12 01:48:05 +0000
commitc2f486377e529e73df7f992e1f948b6e38a2a539 (patch)
treeb4b27258f0bd9800d54a535c763bbca8293bae3d /games-puzzle/enigma
parentnew ebuild (diff)
downloadgentoo-2-c2f486377e529e73df7f992e1f948b6e38a2a539.tar.gz
gentoo-2-c2f486377e529e73df7f992e1f948b6e38a2a539.tar.bz2
gentoo-2-c2f486377e529e73df7f992e1f948b6e38a2a539.zip
gcc3 patch #28332
Diffstat (limited to 'games-puzzle/enigma')
-rw-r--r--games-puzzle/enigma/ChangeLog9
-rw-r--r--games-puzzle/enigma/enigma-0.70.ebuild10
-rw-r--r--games-puzzle/enigma/files/0.70-gcc3.patch10
3 files changed, 24 insertions, 5 deletions
diff --git a/games-puzzle/enigma/ChangeLog b/games-puzzle/enigma/ChangeLog
index 7b3973bdc437..dc01239c3041 100644
--- a/games-puzzle/enigma/ChangeLog
+++ b/games-puzzle/enigma/ChangeLog
@@ -1,12 +1,15 @@
# ChangeLog for games-puzzle/enigma
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.3 2003/09/11 06:51:20 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.4 2003/09/12 01:48:05 vapier Exp $
+
+*enigma-0.70 (17 Feb 2003)
+
+ 11 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added gcc3 patch #28332.
10 Sep 2003; Michael Sterrett <msterret@gentoo.org> enigma-0.70.ebuild:
Tried it with lua-5.0 and it worked great. No need to lock in lua-4.0 then.
-*enigma-0.70 (17 Feb 2003)
-
17 Feb 2003; Phil Bordelon <sunflare@gentoo.org> enigma-0.70.ebuild :
Version bump. Enigma now also uses the games eclass. Deleted old,
stale versions of the game as well.
diff --git a/games-puzzle/enigma/enigma-0.70.ebuild b/games-puzzle/enigma/enigma-0.70.ebuild
index 4740be75c23f..e116e7de55ed 100644
--- a/games-puzzle/enigma/enigma-0.70.ebuild
+++ b/games-puzzle/enigma/enigma-0.70.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-0.70.ebuild,v 1.2 2003/09/11 06:51:20 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-0.70.ebuild,v 1.3 2003/09/12 01:48:05 vapier Exp $
inherit games
@@ -8,9 +8,9 @@ DESCRIPTION="puzzle game similar to Oxyd"
HOMEPAGE="http://www.freesoftware.fsf.org/enigma/"
SRC_URI="http://freesoftware.fsf.org/download/enigma/${P}.tar.gz"
-KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86"
DEPEND="virtual/glibc
>=media-libs/libsdl-1.2.0
@@ -18,6 +18,12 @@ DEPEND="virtual/glibc
media-libs/sdl-image
>=dev-lang/lua-4.0"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc3.patch
+}
+
src_compile() {
egamesconf --enable-optimize || die
emake || die
diff --git a/games-puzzle/enigma/files/0.70-gcc3.patch b/games-puzzle/enigma/files/0.70-gcc3.patch
new file mode 100644
index 000000000000..aaeb70b79394
--- /dev/null
+++ b/games-puzzle/enigma/files/0.70-gcc3.patch
@@ -0,0 +1,10 @@
+--- src/enigma.hh.orig 2003-09-11 21:35:23.817316216 -0400
++++ src/enigma.hh 2003-09-11 21:32:33.295239512 -0400
+@@ -29,6 +29,7 @@
+ #include "px/math.hh"
+ #include "px/tools.hh"
+
++#include <assert.h>
+ #include <string>
+ #include <vector>
+ #include <iosfwd>