Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/xgalaga: ChangeLog xgalaga-2.0.34-r6.ebuild
Date: Mon, 02 Feb 2009 13:26:40
Message-Id: E1LTyow-0006MW-8D@stork.gentoo.org
1 tupone 09/02/02 13:26:38
2
3 Modified: ChangeLog xgalaga-2.0.34-r6.ebuild
4 Log:
5 Fix --as-needed bug #247331
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
7
8 Revision Changes Path
9 1.13 games-arcade/xgalaga/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/ChangeLog?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/ChangeLog?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/ChangeLog?r1=1.12&r2=1.13
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/ChangeLog,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- ChangeLog 18 Dec 2008 21:30:29 -0000 1.12
22 +++ ChangeLog 2 Feb 2009 13:26:38 -0000 1.13
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-arcade/xgalaga
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/ChangeLog,v 1.12 2008/12/18 21:30:29 darkside Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/ChangeLog,v 1.13 2009/02/02 13:26:38 tupone Exp $
29 +
30 + 02 Feb 2009; Alfredo Tupone <tupone@g.o>
31 + +files/xgalaga-2.0.34-as-needed.patch, xgalaga-2.0.34-r6.ebuild:
32 + Fix --as-needed bug #247331 by flameeyes@g.o
33
34 18 Dec 2008; Jeremy Olexa <darkside@g.o> xgalaga-2.0.34-r6.ebuild:
35 (non maintainer commit) games-arcade/xgalaga doesn't build with --as-needed,
36
37
38
39 1.8 games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild?rev=1.8&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild?rev=1.8&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild?r1=1.7&r2=1.8
44
45 Index: xgalaga-2.0.34-r6.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild,v
48 retrieving revision 1.7
49 retrieving revision 1.8
50 diff -u -r1.7 -r1.8
51 --- xgalaga-2.0.34-r6.ebuild 18 Dec 2008 22:37:35 -0000 1.7
52 +++ xgalaga-2.0.34-r6.ebuild 2 Feb 2009 13:26:38 -0000 1.8
53 @@ -1,8 +1,9 @@
54 -# Copyright 1999-2008 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild,v 1.7 2008/12/18 22:37:35 mr_bones_ Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild,v 1.8 2009/02/02 13:26:38 tupone Exp $
59
60 -inherit eutils flag-o-matic games
61 +EAPI=2
62 +inherit eutils games
63
64 DEB_VER=30
65 DESCRIPTION="A Galaga clone with additional features"
66 @@ -23,9 +24,7 @@
67 DEPEND="${RDEPEND}
68 x11-proto/xproto"
69
70 -src_unpack() {
71 - unpack ${A}
72 - cd "${S}"
73 +src_prepare() {
74 epatch "${FILESDIR}"/${P}-xpaths.patch #79496
75 epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff
76 sed -i \
77 @@ -35,11 +34,10 @@
78 sed -i \
79 -e '/SOUNDDEFS/ s:@prefix@:@prefix@/bin:' Makefile.in \
80 || die "sed Makefile.in failed"
81 - append-ldflags -Wl,--no-as-needed #247331
82 + epatch "${FILESDIR}"/${P}-as-needed.patch
83 }
84
85 src_compile() {
86 - egamesconf || die
87 emake CPPFLAGS="-D__NO_STRING_INLINES" || die "emake failed"
88 }