summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-11-05 23:40:24 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-11-05 23:40:24 +0000
commite724039d2320b836ed7e1c3b630b577d60891819 (patch)
treeb0cdd58438e8f644243b407ae7686ee2354257f3 /games-arcade
parentRe-Keywording for ppc. (diff)
downloadgentoo-2-e724039d2320b836ed7e1c3b630b577d60891819.tar.gz
gentoo-2-e724039d2320b836ed7e1c3b630b577d60891819.tar.bz2
gentoo-2-e724039d2320b836ed7e1c3b630b577d60891819.zip
Fix implicit declarations and add ~amd64 keyword
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/asteroid/ChangeLog8
-rw-r--r--games-arcade/asteroid/asteroid-1.1.ebuild15
-rw-r--r--games-arcade/asteroid/files/asteroid-1.1-include.patch11
3 files changed, 26 insertions, 8 deletions
diff --git a/games-arcade/asteroid/ChangeLog b/games-arcade/asteroid/ChangeLog
index 6748e5834621..018fef339b0f 100644
--- a/games-arcade/asteroid/ChangeLog
+++ b/games-arcade/asteroid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/asteroid
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/asteroid/ChangeLog,v 1.5 2007/04/09 21:47:34 welp Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/asteroid/ChangeLog,v 1.6 2009/11/05 23:40:23 nyhm Exp $
+
+ 05 Nov 2009; Tristan Heaven <nyhm@gentoo.org> asteroid-1.1.ebuild,
+ +files/asteroid-1.1-include.patch:
+ Fix implicit declarations and add ~amd64 keyword
09 Apr 2007; Peter Weller <welp@gentoo.org> asteroid-1.1.ebuild:
Keyworded ~x86-fbsd wrt bug 173405
diff --git a/games-arcade/asteroid/asteroid-1.1.ebuild b/games-arcade/asteroid/asteroid-1.1.ebuild
index 80a2bddc28ec..908aa771ad15 100644
--- a/games-arcade/asteroid/asteroid-1.1.ebuild
+++ b/games-arcade/asteroid/asteroid-1.1.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/asteroid/asteroid-1.1.ebuild,v 1.4 2007/04/09 21:47:34 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/asteroid/asteroid-1.1.ebuild,v 1.5 2009/11/05 23:40:23 nyhm Exp $
-inherit games
+EAPI=2
+inherit eutils games
-DESCRIPTION="A modern version of the arcade classic that uses OpenGL and GLUT"
+DESCRIPTION="A modern version of the arcade classic that uses OpenGL"
HOMEPAGE="http://chaoslizard.sourceforge.net/asteroid/"
SRC_URI="mirror://sourceforge/chaoslizard/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc x86 ~x86-fbsd"
+KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="virtual/opengl
@@ -19,8 +20,10 @@ DEPEND="virtual/opengl
media-libs/libsdl
media-libs/sdl-mixer"
+PATCHES=( "${FILESDIR}"/${P}-include.patch )
+
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc asteroid-{authors,changes,readme}.txt
prepgamesdirs
}
diff --git a/games-arcade/asteroid/files/asteroid-1.1-include.patch b/games-arcade/asteroid/files/asteroid-1.1-include.patch
new file mode 100644
index 000000000000..9eca5f83f2c8
--- /dev/null
+++ b/games-arcade/asteroid/files/asteroid-1.1-include.patch
@@ -0,0 +1,11 @@
+--- src/hiscore.c
++++ src/hiscore.c
+@@ -35,6 +35,8 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <stdlib.h>
++#include <string.h>
+
+ #include "main.h"
+ #include "hiscore.h"