diff options
-rw-r--r-- | games-arcade/skystreets/ChangeLog | 6 | ||||
-rw-r--r-- | games-arcade/skystreets/Manifest | 9 | ||||
-rw-r--r-- | games-arcade/skystreets/files/levels.patch | 20 | ||||
-rw-r--r-- | games-arcade/skystreets/skystreets-0.2.3.ebuild | 10 |
4 files changed, 38 insertions, 7 deletions
diff --git a/games-arcade/skystreets/ChangeLog b/games-arcade/skystreets/ChangeLog index 91d356932e0b..5d7b9ebcd204 100644 --- a/games-arcade/skystreets/ChangeLog +++ b/games-arcade/skystreets/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/skystreets # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.8 2004/03/31 13:54:41 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.9 2004/04/11 00:22:59 mr_bones_ Exp $ + + 10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> + skystreets-0.2.3.ebuild, files/levels.patch: + patch for allowing play of individual levels (bug #47441) 31 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> skystreets-0.2.3.ebuild: Adding amd64 keyword, closing #45979. diff --git a/games-arcade/skystreets/Manifest b/games-arcade/skystreets/Manifest index ca47ba54a068..bab59cfb928b 100644 --- a/games-arcade/skystreets/Manifest +++ b/games-arcade/skystreets/Manifest @@ -1,6 +1,7 @@ -MD5 c1fae6e48dfe360eb04cc12e7f1107a1 skystreets-0.2.3.ebuild 671 -MD5 106ee91e06e13a34a064abc1468ed3f5 skystreets-0.2.2.ebuild 666 -MD5 3c8a3e7ff9115f4d1704e87234eddb6d ChangeLog 1265 +MD5 09d71a15bd5aab13100e88a56ad2bb7c ChangeLog 1433 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 d4e0cfa58c5accddce80b18ee955d5ac files/digest-skystreets-0.2.2 70 +MD5 cd727fb7a293df1214d498f08ec018b3 skystreets-0.2.3.ebuild 758 +MD5 106ee91e06e13a34a064abc1468ed3f5 skystreets-0.2.2.ebuild 666 MD5 91ce599bce669304cdff1a3e81b08e51 files/digest-skystreets-0.2.3 70 +MD5 5de0555d0bb183032481827161d2d77d files/levels.patch 572 +MD5 d4e0cfa58c5accddce80b18ee955d5ac files/digest-skystreets-0.2.2 70 diff --git a/games-arcade/skystreets/files/levels.patch b/games-arcade/skystreets/files/levels.patch new file mode 100644 index 000000000000..c44b64a16295 --- /dev/null +++ b/games-arcade/skystreets/files/levels.patch @@ -0,0 +1,20 @@ +--- levels.cpp.orig 2004-04-10 17:12:38.000000000 -0700 ++++ levels.cpp 2004-04-10 17:12:56.000000000 -0700 +@@ -45,11 +45,13 @@ + + bool Level::initialize(char *filename) + { +- +- strcpy(fname, basePath); +- strcat(fname, filename); ++ strcpy(fname, filename); + data = fopen(fname, "r"); +-// printf("Attempting to load %s\n", fname ++ if (data == NULL) { //try the other path ++ strcpy(fname, basePath); ++ strcat(fname, filename); ++ data = fopen(fname, "r"); ++ } + if (data == NULL) { //try the other path + printf("File not found; creating new\n"); + maxFuel = 10000; diff --git a/games-arcade/skystreets/skystreets-0.2.3.ebuild b/games-arcade/skystreets/skystreets-0.2.3.ebuild index 08fcc0ec62c7..aabe85ddcaf5 100644 --- a/games-arcade/skystreets/skystreets-0.2.3.ebuild +++ b/games-arcade/skystreets/skystreets-0.2.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.3.ebuild,v 1.2 2004/03/31 13:54:41 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.3.ebuild,v 1.3 2004/04/11 00:22:59 mr_bones_ Exp $ -inherit games +inherit eutils games DESCRIPTION="A clone of the old dos Skyroads game" HOMEPAGE="http://skystreets.kaosfusion.com/" @@ -17,6 +17,12 @@ DEPEND="virtual/opengl media-libs/libsdl media-libs/sdl-image" +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/levels.patch" +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS BUGS CODE ChangeLog README TODO |