summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-09-28 16:07:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-09-28 16:07:43 +0000
commitd41a7b1527eaa1a05afbe6567dc39a63c677f9a2 (patch)
tree5d8e87ff07b65deacc7544838dcd31d813bf1c1d /games-puzzle/pipewalker
parentBump 5.10.1 patchset. Fix perl-5.8.8 bugs #259923, #286656, #249827, #265268 (diff)
downloadgentoo-2-d41a7b1527eaa1a05afbe6567dc39a63c677f9a2.tar.gz
gentoo-2-d41a7b1527eaa1a05afbe6567dc39a63c677f9a2.tar.bz2
gentoo-2-d41a7b1527eaa1a05afbe6567dc39a63c677f9a2.zip
fix loading save state - patch from Toralf Förster via bug #286763
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pipewalker')
-rw-r--r--games-puzzle/pipewalker/ChangeLog6
-rw-r--r--games-puzzle/pipewalker/files/pipewalker-0.7.2-saveload.patch11
-rw-r--r--games-puzzle/pipewalker/pipewalker-0.7.2.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/games-puzzle/pipewalker/ChangeLog b/games-puzzle/pipewalker/ChangeLog
index 63b7a58eaba5..b02748e71752 100644
--- a/games-puzzle/pipewalker/ChangeLog
+++ b/games-puzzle/pipewalker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/pipewalker
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/ChangeLog,v 1.1 2009/08/26 10:53:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/ChangeLog,v 1.2 2009/09/28 16:07:42 mr_bones_ Exp $
+
+ 28 Sep 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ pipewalker-0.7.2.ebuild, +files/pipewalker-0.7.2-saveload.patch:
+ fix loading save state - patch from Toralf Förster via bug #286763
*pipewalker-0.7.2 (26 Aug 2009)
diff --git a/games-puzzle/pipewalker/files/pipewalker-0.7.2-saveload.patch b/games-puzzle/pipewalker/files/pipewalker-0.7.2-saveload.patch
new file mode 100644
index 000000000000..35db4b584b94
--- /dev/null
+++ b/games-puzzle/pipewalker/files/pipewalker-0.7.2-saveload.patch
@@ -0,0 +1,11 @@
+--- src/cell.cpp~ 2009-07-13 08:28:06.000000000 +0200
++++ src/cell.cpp 2009-09-19 15:50:29.000000000 +0200
+@@ -58,7 +58,7 @@
+ bool CCell::Load(const unsigned short state)
+ {
+ if (state == 0)
+- return false;
++ return true;
+
+ int rotate = 0;
+ m_TubeType = static_cast<TubeType>((state >> 12) & 0xf);
diff --git a/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild b/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild
index c4eaae217ac9..cd3a10afa918 100644
--- a/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild
+++ b/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild,v 1.1 2009/08/26 10:53:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/pipewalker-0.7.2.ebuild,v 1.2 2009/09/28 16:07:42 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -18,6 +18,8 @@ DEPEND="media-libs/libsdl[opengl]
virtual/opengl
virtual/glu"
+PATCHES=( "${FILESDIR}"/${P}-saveload.patch )
+
src_configure() {
egamesconf \
--disable-dependency-tracking \