summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2004-11-05 05:09:15 +0000
committerJoseph Jezak <josejx@gentoo.org>2004-11-05 05:09:15 +0000
commit823e7d8c5891b2575dad55cd0a6394a21abffb1e (patch)
tree1669133abd9ab3ff4bd26169bdd19e1fc89dd496 /games-puzzle
parentAdded ~ppc. (Manifest recommit) (diff)
downloadgentoo-2-823e7d8c5891b2575dad55cd0a6394a21abffb1e.tar.gz
gentoo-2-823e7d8c5891b2575dad55cd0a6394a21abffb1e.tar.bz2
gentoo-2-823e7d8c5891b2575dad55cd0a6394a21abffb1e.zip
Added ~ppc and gcc 3.4 fixes.
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/magiccube4d/ChangeLog6
-rw-r--r--games-puzzle/magiccube4d/Manifest3
-rw-r--r--games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch11
-rw-r--r--games-puzzle/magiccube4d/magiccube4d-2.2.ebuild12
4 files changed, 27 insertions, 5 deletions
diff --git a/games-puzzle/magiccube4d/ChangeLog b/games-puzzle/magiccube4d/ChangeLog
index 8715c8304458..2105f8f6e733 100644
--- a/games-puzzle/magiccube4d/ChangeLog
+++ b/games-puzzle/magiccube4d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/magiccube4d
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/magiccube4d/ChangeLog,v 1.3 2004/06/24 23:07:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/magiccube4d/ChangeLog,v 1.4 2004/11/05 05:09:15 josejx Exp $
+
+ 05 Nov 2004; Joseph Jezak <josejx@gentoo.org>
+ +files/magiccube4d-EventHandler.patch, magiccube4d-2.2.ebuild:
+ Added ~ppc and gcc-3.4 fixes.
*magiccube4d-2.2 (22 Jun 2003)
diff --git a/games-puzzle/magiccube4d/Manifest b/games-puzzle/magiccube4d/Manifest
index 2835c0b319d0..99341359fe28 100644
--- a/games-puzzle/magiccube4d/Manifest
+++ b/games-puzzle/magiccube4d/Manifest
@@ -1,4 +1,5 @@
-MD5 d67e1c1ad6edd9f2bebada852b913f47 magiccube4d-2.2.ebuild 776
MD5 203c2218508deb1db51627b37ff0b9f4 ChangeLog 357
+MD5 7ca0e0b94498a83d9563930a2a619a22 magiccube4d-2.2.ebuild 873
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 6f62ca4a6d3ec6e1ac7de88bd76c5209 files/digest-magiccube4d-2.2 61
+MD5 90c881c0f91424913c40d79bc940e47d files/magiccube4d-EventHandler.patch 425
diff --git a/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch b/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch
new file mode 100644
index 000000000000..7dae8981c4aa
--- /dev/null
+++ b/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch
@@ -0,0 +1,11 @@
+--- EventHandler.cpp.old 2004-11-04 22:58:13.735812448 +1100
++++ EventHandler.cpp 2004-11-04 22:57:03.176539088 +1100
+@@ -326,7 +326,7 @@
+ number_of_reference_stickers_needed--;
+ reference_stickers_needed++;
+ if (number_of_reference_stickers_needed == 0)
+- (this->*what_to_do_after_got_reference_stickers)();
++ (this->*what_to_do_after_got_reference_stickers)(NULL);
+ }
+ }
+
diff --git a/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild b/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
index 610267b835bb..7bf673a4a625 100644
--- a/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
+++ b/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild,v 1.4 2004/06/24 23:07:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild,v 1.5 2004/11/05 05:09:15 josejx Exp $
-inherit games
+inherit eutils games
MY_PV=${PV/./_}
DESCRIPTION="four-dimensional analog of Rubik's cube"
@@ -11,13 +11,19 @@ SRC_URI="http://www.superliminal.com/cube/mc4d-src-${MY_PV}.tgz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~ppc"
IUSE=""
DEPEND="virtual/x11"
S="${WORKDIR}/${PN}-src-${MY_PV}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-EventHandler.patch
+}
+
src_compile() {
egamesconf || die
emake DFLAGS="${CFLAGS}" || die "emake failed"