summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-02-15 22:50:02 +0000
committerTristan Heaven <tristan@gentoo.org>2008-02-15 22:50:02 +0000
commit91a70ba8e655ed51f485857949c97ad0c9b4bf84 (patch)
tree867f7266053fb07bce3617dace77f2b81c8db382 /games-sports
parentFilter CFLAGS (diff)
downloadhistorical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.tar.gz
historical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.tar.bz2
historical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.zip
Version bump, bug #181743
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/trophy/ChangeLog10
-rw-r--r--games-sports/trophy/Manifest15
-rw-r--r--games-sports/trophy/files/trophy-1.1.5-display-segv.patch11
-rw-r--r--games-sports/trophy/trophy-1.1.5.ebuild30
4 files changed, 63 insertions, 3 deletions
diff --git a/games-sports/trophy/ChangeLog b/games-sports/trophy/ChangeLog
index 60fa3126ceca..7a1dd96a2c98 100644
--- a/games-sports/trophy/ChangeLog
+++ b/games-sports/trophy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/trophy
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/ChangeLog,v 1.5 2006/10/18 20:27:37 nyhm Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/ChangeLog,v 1.6 2008/02/15 22:50:01 nyhm Exp $
+
+*trophy-1.1.5 (15 Feb 2008)
+
+ 15 Feb 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/trophy-1.1.5-display-segv.patch, +trophy-1.1.5.ebuild:
+ Version bump, bug #181743
18 Oct 2006; Tristan Heaven <nyhm@gentoo.org> trophy-1.1.3.ebuild:
Use autotools eclass
diff --git a/games-sports/trophy/Manifest b/games-sports/trophy/Manifest
index 42f5c7ebcf48..441d0a5d2c7f 100644
--- a/games-sports/trophy/Manifest
+++ b/games-sports/trophy/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX trophy-1.1.5-display-segv.patch 415 RMD160 46b6ac2c096f3ac60831adc749d3fa030ff863ab SHA1 81fadc5c6be9adbdbe4e2a573db14f92eaa9abb8 SHA256 a4a18ddc14ddeba8cee07dc2e60b13bf99e345f03778336c8bbf71ceee9fabdc
DIST trophy-1.1.3-src.tar.gz 9330835 RMD160 d5424f62a0e351c933911fc3595ef86e9f3173bd SHA1 1e70ab978524b072b1f8e627d9e4d2a4ea698528 SHA256 9f57bc77587b485f7eeb2948bfcb12d3e03c85b86c8b148c49a410df2a433871
+DIST trophy-1.1.5.tar.gz 14402714 RMD160 9e47bc69a316a982e50858f1c7fb3fce413ba7f9 SHA1 11fbf36691e4db909d7a641daa8e5983431ce6f0 SHA256 bf654a28027c62b36b39c3a23d2d7396b4afa7edbc1377595a99a18a30c26bfe
DIST trophy_1.1.3-2.diff.gz 6507 RMD160 2c36936eedc64d0c3e6468ce1798bfc19ce78842 SHA1 ba0d27d8b361feac6ba99d6642322ab5fdd47253 SHA256 20df77c185bbc43660ca48fcc8b32ab571b050610840ed7c7b9e37fd33e0db94
EBUILD trophy-1.1.3.ebuild 1376 RMD160 3dcb5df82d64b00009dfce9b4c1927165458dd60 SHA1 f8146193ab375a1fc2f321e256c44bdab7ed777b SHA256 579f1546fec17310dc5db32134be0469d2f2e5cc99b04dc1b40b545226273a2b
-MISC ChangeLog 668 RMD160 8e22179f67a63cc32ef78436be268357a954d999 SHA1 75abd59e83b69ee34ddb133f566986dd703d09ee SHA256 3956be2e5e39fd233d9f9a1dfc8986ceff49b1ac04b9e7de988e0a47461d6d4c
+EBUILD trophy-1.1.5.ebuild 713 RMD160 d6194c36efd5fd793cd0ed0f5889c77fdd4f52e7 SHA1 f19f55bf62d3fa60dbdae989a81d6cc4b1e39a34 SHA256 394b5c1311ef3a8961e0adfed8618c619edfd2d83ee03529690dbb926d9e9031
+MISC ChangeLog 838 RMD160 055479d9e8f81e0566bec28715ca4b9a938cb5e4 SHA1 80c66464e6c02cd6dd42bece4f70af55400a38e7 SHA256 45f6a0d48a999146e0b5f92f0d3742f721eef13c9504c6370ecf825022295188
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHthcfdz7hIScOURERAlQRAJwM10HQ99/QO0BIZd8wCxTqOw5JdQCg23TR
+jN3fBHs0OOp4hSF13rcYYDU=
+=hGhO
+-----END PGP SIGNATURE-----
diff --git a/games-sports/trophy/files/trophy-1.1.5-display-segv.patch b/games-sports/trophy/files/trophy-1.1.5-display-segv.patch
new file mode 100644
index 000000000000..83860d229ec3
--- /dev/null
+++ b/games-sports/trophy/files/trophy-1.1.5-display-segv.patch
@@ -0,0 +1,11 @@
+--- src/caplayer.cpp.old 2007-08-30 02:52:11.000000000 +0200
++++ src/caplayer.cpp 2007-08-30 02:52:58.000000000 +0200
+@@ -914,6 +914,8 @@
+ void
+ CAPlayer::display( int offsetX, int offsetY )
+ {
++ if (frame >= CA_FPR)
++ frame = CA_FPR - 1;
+ sprite[frame]->draw ( (int)(x+offsetX - sprite[ frame ]->get_width()/2),
+ (int)(y+offsetY - sprite[ frame ]->get_height()/2) );
+
diff --git a/games-sports/trophy/trophy-1.1.5.ebuild b/games-sports/trophy/trophy-1.1.5.ebuild
new file mode 100644
index 000000000000..bfb34a1a07e1
--- /dev/null
+++ b/games-sports/trophy/trophy-1.1.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/trophy-1.1.5.ebuild,v 1.1 2008/02/15 22:50:01 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="2D Racing Game"
+HOMEPAGE="http://trophy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-games/clanlib-0.8*"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-display-segv.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}