summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-01-18 19:58:12 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-01-18 19:58:12 +0000
commitc0a144c49b0896a2d8129f699c70a51f711c4f94 (patch)
tree4d80f6af49cdefc32e4b752ff7643cca4e2ff550 /games-arcade/cervi
parentAutomated update of use.local.desc (diff)
downloadhistorical-c0a144c49b0896a2d8129f699c70a51f711c4f94.tar.gz
historical-c0a144c49b0896a2d8129f699c70a51f711c4f94.tar.bz2
historical-c0a144c49b0896a2d8129f699c70a51f711c4f94.zip
Fix gcc-4.3 build. Bug #251119
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r3 i686
Diffstat (limited to 'games-arcade/cervi')
-rw-r--r--games-arcade/cervi/ChangeLog8
-rw-r--r--games-arcade/cervi/Manifest15
-rw-r--r--games-arcade/cervi/cervi-0.0.3.ebuild7
-rw-r--r--games-arcade/cervi/files/cervi-0.0.3-gcc43.patch10
4 files changed, 33 insertions, 7 deletions
diff --git a/games-arcade/cervi/ChangeLog b/games-arcade/cervi/ChangeLog
index 29cadd30115a..4d135a65d755 100644
--- a/games-arcade/cervi/ChangeLog
+++ b/games-arcade/cervi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/cervi
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/ChangeLog,v 1.5 2006/10/09 16:23:11 nyhm Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/ChangeLog,v 1.6 2009/01/18 19:58:12 tupone Exp $
+
+ 18 Jan 2009; Tupone Alfredo <tupone@gentoo.org>
+ +files/cervi-0.0.3-gcc43.patch, cervi-0.0.3.ebuild:
+ Fix gcc-4.3 build. Bug #251119 by flameeyes@gentoo.org
09 Oct 2006; Tristan Heaven <nyhm@gentoo.org> cervi-0.0.3.ebuild:
Add gtk+-1 to DEPEND
diff --git a/games-arcade/cervi/Manifest b/games-arcade/cervi/Manifest
index 61996b455d5d..589394e3cebc 100644
--- a/games-arcade/cervi/Manifest
+++ b/games-arcade/cervi/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX cervi-0.0.3-gcc43.patch 247 RMD160 351bbc759535b86ae7f32d3880b3da6f5bc45363 SHA1 85046c8480a9e63bd467026070b3523ca5695aa9 SHA256 a82100efc9e64eb346d72a8b71ac100d96105a8037db15098a864075671a3ad8
DIST cervi-0.0.3.tar.bz2 21699 RMD160 f28364318da43cbc2cc66ab127e2dd11f7d0fac4 SHA1 b426b5720e6d1c8cca373f4ac36cf17957fa3fc8 SHA256 947411f0139d292454ec4521565dfe31f3f0c5e12f62eb4f4a74075a9fb86556
-EBUILD cervi-0.0.3.ebuild 1127 RMD160 886d3e2c6579b4818e20561b8adf8f29623e9720 SHA1 6acfa7a33a874b060ea45703d8794975adb75cfb SHA256 28a3622164390db58cca99ef1771bbbb0a5f878503a7b4f1df52b586b7119767
-MISC ChangeLog 617 RMD160 826f6aa2a6977fd7e6e026b4132590c26e949817 SHA1 b295ed6eedd054835443650659ac7f488eeb12b1 SHA256 e3d72165de26eb63e41f74b6ae267430bcbd2a8c8ea2723b2373c859fa56ce6e
+EBUILD cervi-0.0.3.ebuild 1175 RMD160 1dcee71c3589b7b511716047d58faf1514b168c6 SHA1 818d69037101d63a37512b77aa39f9a65057d9b6 SHA256 0e72f18a3832d766968538aa9ea7e40404d58c25b3ec7f4a6fa02d31e642ed34
+MISC ChangeLog 781 RMD160 1cea36ba5a0ee4ce80adc88c77d020f2346f0dc9 SHA1 8b03d67af5a3862b24a04020135f0f57de9d2e0c SHA256 6410f5ed101fb7323d2b0c6db85d5aa98fb3d9f1e00653e82ff4be880fb578aa
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklzid8ACgkQSYz9rjec82ZahwCfUCyTfHikMNRmOxJjbnaLzJZ0
+1uIAn0SiU/Pj3V4nH3cDYLuIWf0HDsYT
+=6D+0
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/cervi/cervi-0.0.3.ebuild b/games-arcade/cervi/cervi-0.0.3.ebuild
index 67d3fb96e40a..3156342748cd 100644
--- a/games-arcade/cervi/cervi-0.0.3.ebuild
+++ b/games-arcade/cervi/cervi-0.0.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/cervi-0.0.3.ebuild,v 1.7 2006/10/09 16:23:11 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/cervi-0.0.3.ebuild,v 1.8 2009/01/18 19:58:12 tupone Exp $
-inherit toolchain-funcs games
+inherit eutils toolchain-funcs games
DESCRIPTION="A multiplayer game where players drive a worm and try not to collide with anything"
SRC_URI="http://tomi.nomi.cz/download/${P}.tar.bz2"
@@ -22,6 +22,7 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
sed -i \
-e "/^CFLAGS/ s:-Wall:${CFLAGS}:" \
-e "/^CXXFLAGS/ s:-Wall:${CXXFLAGS}:" Makefile \
diff --git a/games-arcade/cervi/files/cervi-0.0.3-gcc43.patch b/games-arcade/cervi/files/cervi-0.0.3-gcc43.patch
new file mode 100644
index 000000000000..a02b20e2ae9a
--- /dev/null
+++ b/games-arcade/cervi/files/cervi-0.0.3-gcc43.patch
@@ -0,0 +1,10 @@
+--- game.cc.old 2009-01-18 20:27:15.000000000 +0100
++++ game.cc 2009-01-18 20:27:52.000000000 +0100
+@@ -10,6 +10,7 @@
+
+ #include <iostream>
+ #include <cmath>
++#include <cstdlib>
+ #include <gdk/gdkkeysyms.h>
+ #include "game.h"
+ #include "music.h"