summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-06-03 14:17:13 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-06-03 14:17:13 +0000
commitd3941aebf27941e10f3543de9b538d5c53d19329 (patch)
tree5f53cf3363c6107e6da66c6533835d2be82baa67 /games-action/shootingstar
parentMarking quanta-3.5.10 ppc64 for bug 271889 (diff)
downloadhistorical-d3941aebf27941e10f3543de9b538d5c53d19329.tar.gz
historical-d3941aebf27941e10f3543de9b538d5c53d19329.tar.bz2
historical-d3941aebf27941e10f3543de9b538d5c53d19329.zip
Fix build with gcc-4.4.0 Bug #272374
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'games-action/shootingstar')
-rw-r--r--games-action/shootingstar/ChangeLog8
-rw-r--r--games-action/shootingstar/Manifest5
-rw-r--r--games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch10
-rw-r--r--games-action/shootingstar/shootingstar-1.2.0.ebuild16
4 files changed, 28 insertions, 11 deletions
diff --git a/games-action/shootingstar/ChangeLog b/games-action/shootingstar/ChangeLog
index 164b9e67818d..4e12d9fd3609 100644
--- a/games-action/shootingstar/ChangeLog
+++ b/games-action/shootingstar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/shootingstar
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/shootingstar/ChangeLog,v 1.5 2007/03/14 20:53:28 nyhm Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/shootingstar/ChangeLog,v 1.6 2009/06/03 14:17:13 tupone Exp $
+
+ 03 Jun 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/shootingstar-1.2.0-gcc44.patch, shootingstar-1.2.0.ebuild:
+ Fix build with gcc-4.4.0 Bug #272374 by Diego Petteno'
14 Mar 2007; Tristan Heaven <nyhm@gentoo.org> shootingstar-1.2.0.ebuild:
Install menu entry, bug #159764
diff --git a/games-action/shootingstar/Manifest b/games-action/shootingstar/Manifest
index 3d39c6fd775a..d57665ac5440 100644
--- a/games-action/shootingstar/Manifest
+++ b/games-action/shootingstar/Manifest
@@ -1,5 +1,6 @@
AUX 1.2.0-gcc34.patch 1053 RMD160 9e20cbb6d060b0a94cf5589ba1a3cf69bb0426bd SHA1 43b9ca06b63d4445b070ba648a33a1fd2f6e4f02 SHA256 af546d3f6201db0e42b4f1bade2ba214f10959986b95892887e17f33f1e23ee2
+AUX shootingstar-1.2.0-gcc44.patch 324 RMD160 4a6a867e41f8db40193594ca8ba5e0986c384da2 SHA1 fcdc99fc10a7460ff1ed01391aef15faee44106c SHA256 7c6583a536eb0cf2e2c55477d019e8386dcb763f336b715c2a5be1e6104be389
DIST shootingstar-1.2.0.tar.gz 7755911 RMD160 e14d9308f8a9ebefac0d9e896e4587b7c57b73ad SHA1 3c812d12582453d8ed2760f18124d9e0bb80c579 SHA256 21ed7e557a77a12c1bde5f968c55659667c1b14702f3b0ca5762d10374c6b1d9
-EBUILD shootingstar-1.2.0.ebuild 825 RMD160 7e761c4107e7aaf20e906450042d374f2508f8b2 SHA1 991652f0ca4305ea5d41f5cca3c2b4b1a86c8b8e SHA256 d956b6f64772c5b8ad2bd12bb949afa20d42d3e4f0a092227c0404aae659956a
-MISC ChangeLog 885 RMD160 413cb1368fd50066ac8c3bc7ef26a8480a0f9926 SHA1 f45f09d50a31271fbb7f26d2c694db7602fe3875 SHA256 386e8ea4f53a0ed524ef416f0d3874fe5cae7279c904557b33cb4ca038c77436
+EBUILD shootingstar-1.2.0.ebuild 851 RMD160 aa27c6326ce5c0047e00c56f87b60c9216247291 SHA1 7880c2cea3db4982252538708f767a0d16816f26 SHA256 960538eea67d1938c8aedaa7ebfc25920e8fab353d4f6481f8cf117052fcfeb1
+MISC ChangeLog 1063 RMD160 bd92537cd2b66b0c08b030bc0aaf632d187e59e9 SHA1 1e5a0a4b4b823bcf6f9d760c33db703ea8c1394c SHA256 58a1f74105967677e476f3463564e669633454e3142345224b9370b8445ed8ee
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch b/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch
new file mode 100644
index 000000000000..179cf09ebda3
--- /dev/null
+++ b/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch
@@ -0,0 +1,10 @@
+--- src/engine/dbg.cpp.old 2009-06-03 15:15:46.000000000 +0200
++++ src/engine/dbg.cpp 2009-06-03 16:09:19.000000000 +0200
+@@ -28,6 +28,7 @@
+ #include <vector>
+ #include <map>
+ #include <algorithm>
++#include <cstdio>
+
+ /**********************************************************************
+ * Implementation notes
diff --git a/games-action/shootingstar/shootingstar-1.2.0.ebuild b/games-action/shootingstar/shootingstar-1.2.0.ebuild
index d52c228828f1..b5ab1a9ac9cd 100644
--- a/games-action/shootingstar/shootingstar-1.2.0.ebuild
+++ b/games-action/shootingstar/shootingstar-1.2.0.ebuild
@@ -1,6 +1,8 @@
-# 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-action/shootingstar/shootingstar-1.2.0.ebuild,v 1.5 2007/03/14 20:53:28 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/shootingstar/shootingstar-1.2.0.ebuild,v 1.6 2009/06/03 14:17:13 tupone Exp $
+
+EAPI=2
inherit eutils games
@@ -18,12 +20,12 @@ DEPEND="virtual/opengl
media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image"
+RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PV}-gcc34.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${PV}-gcc34.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+)
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"