summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-18 04:08:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-18 04:08:39 +0000
commit2ef6a8ff45219fb62c4fd73f65623c380b532172 (patch)
tree9fbd5dcd11ee4a41a0e2aa8bfb833f8ab3d6895a /games-action
parentRespect LDFLAGS (bug #335968), CC by deploying autotools. Fix some compiler w... (diff)
downloadhistorical-2ef6a8ff45219fb62c4fd73f65623c380b532172.tar.gz
historical-2ef6a8ff45219fb62c4fd73f65623c380b532172.tar.bz2
historical-2ef6a8ff45219fb62c4fd73f65623c380b532172.zip
fix buffer size (bug #337745) with patch from Kevin Pyle; EAPI=2
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r--games-action/barrage/ChangeLog8
-rw-r--r--games-action/barrage/Manifest4
-rw-r--r--games-action/barrage/barrage-1.0.2-r1.ebuild23
3 files changed, 23 insertions, 12 deletions
diff --git a/games-action/barrage/ChangeLog b/games-action/barrage/ChangeLog
index 4e2895b01429..b6608123def8 100644
--- a/games-action/barrage/ChangeLog
+++ b/games-action/barrage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/barrage
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/barrage/ChangeLog,v 1.17 2008/06/29 12:34:22 bluebird Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/barrage/ChangeLog,v 1.18 2010/09/18 04:08:38 mr_bones_ Exp $
+
+ 18 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ barrage-1.0.2-r1.ebuild:
+ fix buffer size (bug #337745) with patch from Kevin Pyle; EAPI=2
29 Jun 2008; Friedrich Oslage <bluebird@gentoo.org>
barrage-1.0.2-r1.ebuild:
diff --git a/games-action/barrage/Manifest b/games-action/barrage/Manifest
index 5d5531d84c1a..582f399d34d2 100644
--- a/games-action/barrage/Manifest
+++ b/games-action/barrage/Manifest
@@ -1,5 +1,5 @@
DIST barrage-1.0.2.tar.gz 455336 RMD160 3bcaf81a62e25deb0b00947b6b3caa2f9feca1c1 SHA1 9a9014002ea7f0b09f47258f10ebc0dac039a1ba SHA256 7afb62a5336fe702a2c880027ad683326f9483356e417c11583af9f05b7aa80e
DIST barrage.png 1877 RMD160 0303213d9096f3304d4f18e4077a75a21f55b7b0 SHA1 4155095e466ea3b39cbc7128ac23471b18976c85 SHA256 e93bdaad44789ec1d24171ea436c4018a896db0e8a6cde4bcc6cc3496612a866
-EBUILD barrage-1.0.2-r1.ebuild 939 RMD160 162f84b16c4dac713204b5a1758deacb3ae301ba SHA1 f7746c8b44795cbc81cd9af3639d477b43b5389a SHA256 4a1b81ac9a5b64b1c7d3f1a37daa921278c859dbc052d6a314bf6cc9f57e3c84
-MISC ChangeLog 1988 RMD160 29fb7847d9ab58cc12bbf9e2db8f3f19b3ee1437 SHA1 661bd7ede696707fc4d3260dd6c880bf64ae0cf6 SHA256 944e058d6d1bbd9a950364fab9de16dbaa0745633f9f070279fd46f863f8f96a
+EBUILD barrage-1.0.2-r1.ebuild 995 RMD160 dcf06dc96afb3a8892951c70c40805b3a5ff2190 SHA1 0e06019a0b46ebf64d86450202cf856c5f0db58b SHA256 f273ce65d2ff2e33b97f736d5f3ee3cb790265b970e6d71a63a2de53d5dede8a
+MISC ChangeLog 2139 RMD160 9346d67fe854853546c4aa3093b0a2cb56d85bd4 SHA1 cbc170ff0b761db35853ef8d90ae935e3a61a1fb SHA256 662c875708c6a897b2d1d5b026d57c6daf4dafccb52b85b93da59dc00496aa44
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/barrage/barrage-1.0.2-r1.ebuild b/games-action/barrage/barrage-1.0.2-r1.ebuild
index 531865f5c873..5626e4b2f2c8 100644
--- a/games-action/barrage/barrage-1.0.2-r1.ebuild
+++ b/games-action/barrage/barrage-1.0.2-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/barrage/barrage-1.0.2-r1.ebuild,v 1.7 2008/06/29 12:34:22 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/barrage/barrage-1.0.2-r1.ebuild,v 1.8 2010/09/18 04:08:39 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="A violent point-and-click shooting game"
@@ -14,23 +15,29 @@ SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
-DEPEND=">=media-libs/libsdl-1.2
+DEPEND=">=media-libs/libsdl-1.2[audio,video]
>=media-libs/sdl-mixer-1.2.4"
src_unpack() {
unpack ${P}.tar.gz
}
-src_compile() {
- egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
- emake || die "emake failed"
+src_prepare() {
+ # bug #337745
+ sed -i \
+ -e 's/name\[20\]/name[24]/' \
+ src/menu.h || die
+}
+
+src_configure() {
+ egamesconf --datadir="${GAMES_DATADIR_BASE}"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS BUGS ChangeLog README
doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} Barrage ${PN}
+ make_desktop_entry ${PN} Barrage
rm "${D}"/usr/share/applications/${PN}.desktop
prepgamesdirs
}