summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2009-11-05 23:40:24 +0000
committerTristan Heaven <tristan@gentoo.org>2009-11-05 23:40:24 +0000
commitec0f0547e58dd8ec28d797997f3a94536e005fee (patch)
treea9ff794b950036223262fff00279227a31df61f7 /games-arcade/asteroid
parentRe-Keywording for ppc. (diff)
downloadhistorical-ec0f0547e58dd8ec28d797997f3a94536e005fee.tar.gz
historical-ec0f0547e58dd8ec28d797997f3a94536e005fee.tar.bz2
historical-ec0f0547e58dd8ec28d797997f3a94536e005fee.zip
Fix implicit declarations and add ~amd64 keyword
Package-Manager: portage-2.2_rc48/cvs/Linux x86_64
Diffstat (limited to 'games-arcade/asteroid')
-rw-r--r--games-arcade/asteroid/ChangeLog8
-rw-r--r--games-arcade/asteroid/Manifest15
-rw-r--r--games-arcade/asteroid/asteroid-1.1.ebuild15
-rw-r--r--games-arcade/asteroid/files/asteroid-1.1-include.patch11
4 files changed, 39 insertions, 10 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/Manifest b/games-arcade/asteroid/Manifest
index fce40a78da07..53458159c528 100644
--- a/games-arcade/asteroid/Manifest
+++ b/games-arcade/asteroid/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX asteroid-1.1-include.patch 189 RMD160 7b14f5edd33826fadb41d086a8dbd56f115d570a SHA1 aaa0d58014c917b219f64a8d1e856db0ba76118e SHA256 52ad2923bc26ff2bd5a6172076814f56444d8cd7b459ff6323d87518b57b0ab4
DIST asteroid-1.1.tar.bz2 386177 RMD160 93518e1977e38bb94c0f809f2dc5f46553e94447 SHA1 97a2bb2cb6ed1a6fe094d9e9246a252037747bd1 SHA256 0619eb1797dd667f90ae48e070938e3d195758a522abf4bdda192fc1704fa0db
-EBUILD asteroid-1.1.ebuild 721 RMD160 ccd1614e6607b4e9bfa1c71a83f70c922804eea0 SHA1 2d6313a1d303e86d5187774ec1926b8afe583891 SHA256 84f23f770ecc118d69de389baa8c9fe0a581840fa305e3290c25e917bac8cbdf
-MISC ChangeLog 833 RMD160 24d2b7c6546e0a012b5dba6c5939a2263473be94 SHA1 862a94e8cc0cfd1bea2dff20dc2b194255d2ef90 SHA256 b8b0371175e9342e25cd363284685a253a96548ff01e29425171e36bdcfc0e14
+EBUILD asteroid-1.1.ebuild 781 RMD160 4703b48a6fb00c8a1a119e5b7a57df7cd1cdd7e6 SHA1 a96ab97b1a7cedafcc751a80e07538ede2dfc3ea SHA256 b7c1954630e952870b602a3a1087b39df8e0f27a1a671f78d0ca85163fb486c6
+MISC ChangeLog 991 RMD160 20ebc49768604a076d36193cded867c544e4efa0 SHA1 1ef989087c3e9d25ef8374135a987d1f6da2f9c5 SHA256 beb56f75ef2bd96721b745f20e06533b54547447b08fd6e9dac2c29829e349b8
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.12 (GNU/Linux)
+
+iEYEARECAAYFAkrzYm0ACgkQdz7hIScOUREUXgCeJAe3Wf1CheY/Z7aLGDfOVjb6
+Kq8AoMCj2M+NNt1d9pIIr2uZYdsMcTsL
+=FgMm
+-----END PGP SIGNATURE-----
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"