summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-30 04:26:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-30 04:26:27 +0000
commita547a3c740161993ed049a45eeb0ec146b3b2f48 (patch)
tree635b423e65af301716b118804501d629bcbc0c7c /games-arcade/skystreets
parentnocd doesnt actually work (diff)
downloadgentoo-2-a547a3c740161993ed049a45eeb0ec146b3b2f48.tar.gz
gentoo-2-a547a3c740161993ed049a45eeb0ec146b3b2f48.tar.bz2
gentoo-2-a547a3c740161993ed049a45eeb0ec146b3b2f48.zip
Add patch by Andrew Bevitt to fix opengl error #68957 by Stahl Sau.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-arcade/skystreets')
-rw-r--r--games-arcade/skystreets/ChangeLog8
-rw-r--r--games-arcade/skystreets/files/0.2.4-gl.patch10
-rw-r--r--games-arcade/skystreets/skystreets-0.2.4.ebuild14
3 files changed, 26 insertions, 6 deletions
diff --git a/games-arcade/skystreets/ChangeLog b/games-arcade/skystreets/ChangeLog
index 063a1321a607..d0430c2c475b 100644
--- a/games-arcade/skystreets/ChangeLog
+++ b/games-arcade/skystreets/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/skystreets
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.14 2004/11/20 12:36:29 mr_bones_ Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.15 2005/01/30 04:26:27 vapier Exp $
+
+ 29 Jan 2005; Mike Frysinger <vapier@gentoo.org> +files/0.2.4-gl.patch,
+ skystreets-0.2.4.ebuild:
+ Add patch by Andrew Bevitt to fix opengl error #68957 by Stahl Sau.
20 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> -files/levels.patch,
-skystreets-0.2.2.ebuild, -skystreets-0.2.3-r1.ebuild,
diff --git a/games-arcade/skystreets/files/0.2.4-gl.patch b/games-arcade/skystreets/files/0.2.4-gl.patch
new file mode 100644
index 000000000000..6ff5548a5fa3
--- /dev/null
+++ b/games-arcade/skystreets/files/0.2.4-gl.patch
@@ -0,0 +1,10 @@
+--- game.cpp.old 2004-12-31 01:02:13.351382184 +1100
++++ game.cpp 2004-12-31 01:02:26.415396152 +1100
+@@ -8,6 +8,7 @@
+ #include <windows.h>
+ #endif
+
++#define GL_GLEXT_PROTOTYPES 1
+ #include <GL/gl.h>
+ #include "SDL.h"
+ #include <string.h>
diff --git a/games-arcade/skystreets/skystreets-0.2.4.ebuild b/games-arcade/skystreets/skystreets-0.2.4.ebuild
index a89dbe083a3b..9d9526cf9b38 100644
--- a/games-arcade/skystreets/skystreets-0.2.4.ebuild
+++ b/games-arcade/skystreets/skystreets-0.2.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.4.ebuild,v 1.2 2004/12/28 04:39:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.4.ebuild,v 1.3 2005/01/30 04:26:27 vapier Exp $
-inherit games
+inherit games eutils
DESCRIPTION="A clone of the old dos Skyroads game"
HOMEPAGE="http://skystreets.kaosfusion.com/"
@@ -10,13 +10,19 @@ SRC_URI="http://skystreets.kaosfusion.com/${P}.tar.bz2"
LICENSE="OSL-2.0"
SLOT="0"
-KEYWORDS="x86 ppc ~amd64 ~alpha"
+KEYWORDS="alpha amd64 ppc x86"
IUSE=""
DEPEND="virtual/opengl
media-libs/libsdl
media-libs/sdl-image"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-gl.patch
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS CODE ChangeLog README TODO