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-action/abuse: ChangeLog abuse-0.7.1.ebuild
Date: Fri, 05 Nov 2010 16:40:02
Message-Id: 20101105163959.90C2E20051@flycatcher.gentoo.org
1 tupone 10/11/05 16:39:59
2
3 Modified: ChangeLog abuse-0.7.1.ebuild
4 Log:
5 Fix overflow. Bug #337363
6
7 (Portage version: 2.1.9.24/cvs/Linux i686)
8
9 Revision Changes Path
10 1.9 games-action/abuse/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 6 May 2009 20:59:26 -0000 1.8
23 +++ ChangeLog 5 Nov 2010 16:39:59 -0000 1.9
24 @@ -1,6 +1,10 @@
25 # ChangeLog for games-action/abuse
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.8 2009/05/06 20:59:26 maekke Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.9 2010/11/05 16:39:59 tupone Exp $
30 +
31 + 05 Nov 2010; Tupone Alfredo <tupone@g.o> abuse-0.7.1.ebuild,
32 + +files/abuse-0.7.1-ovflfix.patch:
33 + Fix overflow. Bug #337363 by flameeyes@g.o
34
35 06 May 2009; Markus Meier <maekke@g.o> abuse-0.7.1.ebuild:
36 amd64 stable, bug #259630
37
38
39
40 1.11 games-action/abuse/abuse-0.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?rev=1.11&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?rev=1.11&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?r1=1.10&r2=1.11
45
46 Index: abuse-0.7.1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v
49 retrieving revision 1.10
50 retrieving revision 1.11
51 diff -u -r1.10 -r1.11
52 --- abuse-0.7.1.ebuild 22 Sep 2009 18:54:40 -0000 1.10
53 +++ abuse-0.7.1.ebuild 5 Nov 2010 16:39:59 -0000 1.11
54 @@ -1,6 +1,7 @@
55 -# Copyright 1999-2009 Gentoo Foundation
56 +# Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.10 2009/09/22 18:54:40 mr_bones_ Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.11 2010/11/05 16:39:59 tupone Exp $
60 +EAPI=2
61
62 inherit eutils games
63
64 @@ -23,23 +24,22 @@
65 DEPEND="${RDEPEND}
66 x11-libs/libXt
67 virtual/opengl"
68 -src_unpack() {
69 - unpack ${A}
70 +
71 +src_prepare() {
72 # fix placing additional patches
73 use levels && cp -rf "${WORKDIR}"/abuse-frabs-2.11/{addon,art,levels,lisp,music,netlevel,register} "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-frabs-2.11/
74 use demo && cp -rf "${WORKDIR}"/abuse-lib-2.00.orig/unpacked/{addon,art,levels,lisp,abuse.lsp} "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-lib-2.00.orig/
75 use sounds && cp -rf "${WORKDIR}"/abuse-sfx-2.00.orig/sfx "${WORKDIR}" && rm -rf "${WORKDIR}"/abuse-sfx-2.00.orig/
76 - cd "${S}"
77 # fix bug #231822
78 sed -i \
79 -e "s:/var/games/abuse:${GAMES_DATADIR}/${PN}:" \
80 src/sdlport/setup.cpp || or die "sed setup.cpp failed"
81 + epatch "${FILESDIR}"/${P}-ovflfix.patch
82 }
83
84 -src_compile() {
85 +src_configure() {
86 # Abuse auto-appends games, so point to the base
87 egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
88 - emake || die "emake failed"
89 }
90
91 src_install() {