summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-04-10 22:47:52 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-04-10 22:47:52 +0000
commitebc31dcd7e6fb6b8c27c9a34c445f13d6fabd34f (patch)
tree4783e4932a2099be4a09499827e8c90b24158076 /games-simulation/cannonsmash
parentbetter DESCRIPTION (diff)
downloadhistorical-ebc31dcd7e6fb6b8c27c9a34c445f13d6fabd34f.tar.gz
historical-ebc31dcd7e6fb6b8c27c9a34c445f13d6fabd34f.tar.bz2
historical-ebc31dcd7e6fb6b8c27c9a34c445f13d6fabd34f.zip
gcc-4.1 compilation fixes
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'games-simulation/cannonsmash')
-rw-r--r--games-simulation/cannonsmash/ChangeLog6
-rw-r--r--games-simulation/cannonsmash/Manifest28
-rw-r--r--games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild5
-rw-r--r--games-simulation/cannonsmash/files/0.6.5-loadparts.patch15
-rw-r--r--games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch22
5 files changed, 49 insertions, 27 deletions
diff --git a/games-simulation/cannonsmash/ChangeLog b/games-simulation/cannonsmash/ChangeLog
index 900d7de91001..81510bce86b2 100644
--- a/games-simulation/cannonsmash/ChangeLog
+++ b/games-simulation/cannonsmash/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-simulation/cannonsmash
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/ChangeLog,v 1.13 2006/02/22 21:50:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/ChangeLog,v 1.14 2006/04/10 22:47:50 tupone Exp $
+
+ 10 Apr 2006; <Tupone@gentoo.org> +files/cannonsmash-0.6.6-gcc41.patch,
+ -files/0.6.5-loadparts.patch, cannonsmash-0.6.6.ebuild:
+ gcc-4.1 fix
22 Feb 2006; <Tupone@gentoo.org> cannonsmash-0.6.6.ebuild:
Modular X dependency fix
diff --git a/games-simulation/cannonsmash/Manifest b/games-simulation/cannonsmash/Manifest
index 69f45a2f7843..8e6c1b0689ea 100644
--- a/games-simulation/cannonsmash/Manifest
+++ b/games-simulation/cannonsmash/Manifest
@@ -1,12 +1,15 @@
-MD5 eb7874cf7ab7bce721adf93e2e2a981a ChangeLog 2254
-RMD160 a010ca9558d5ac335b46afebfdc60dfaf58b91b1 ChangeLog 2254
-SHA256 143b4b137f437ba79b37f085170f15f62e56b9a231aa4cc6f25081db453cedd0 ChangeLog 2254
-MD5 d52ea12ad1283a0a9c17d2b492056ffe cannonsmash-0.6.6.ebuild 1448
-RMD160 66c3f5285ed73f318bae361e88d343f8dff63530 cannonsmash-0.6.6.ebuild 1448
-SHA256 415fa55665881736ce9f31338745cc6978e4d239aa9aae3613ed4d3323fdb840 cannonsmash-0.6.6.ebuild 1448
-MD5 2ca70e3856451ca1226bb3461a653895 files/0.6.5-loadparts.patch 348
-RMD160 5716c46612ad18a253d17d511df1a3f335e87c91 files/0.6.5-loadparts.patch 348
-SHA256 7d409f3c9e9f0112fbacd39e2a161a256eef9766f312d47df1ad24cd06ee383e files/0.6.5-loadparts.patch 348
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 bcf65ee705e731bd704c43ac3d9a5526 ChangeLog 2400
+RMD160 ca662abc619e873520754136c03540ff1d5061db ChangeLog 2400
+SHA256 a2d6dfa7c41ed0785bd86e6e99b72eb9f0f07160ca90ed1c2ad21256c9c783cb ChangeLog 2400
+MD5 7095f101d42fc0b97d252eb1df7fc112 cannonsmash-0.6.6.ebuild 1483
+RMD160 cf198ec569e1ef97e89d09682ed3501f823292e1 cannonsmash-0.6.6.ebuild 1483
+SHA256 5e865ae728c6afaa34f7c3bbfbfadb4caa957cbfc1387abc0462f4fe94dc1208 cannonsmash-0.6.6.ebuild 1483
+MD5 2ffbd16a7577ab027afa03466bff1ad6 files/cannonsmash-0.6.6-gcc41.patch 586
+RMD160 b32e17b299d5ee16f42132fe0561c0c6d658bc5a files/cannonsmash-0.6.6-gcc41.patch 586
+SHA256 8f8f53f8eb715984fd65409d178bc586e9610842a4f2a2a9249e3bf6adeacf62 files/cannonsmash-0.6.6-gcc41.patch 586
MD5 112758236b8f2e754e515d821380787e files/cannonsmash-0.6.6-sizeof-cast.patch 358
RMD160 e9d53d5d83ad316aacd1a826b229cd54d7824b45 files/cannonsmash-0.6.6-sizeof-cast.patch 358
SHA256 a896a7f05317080500663aa49a6f61642c41e690b5889095f1f193a82cd4cbe6 files/cannonsmash-0.6.6-sizeof-cast.patch 358
@@ -19,3 +22,10 @@ SHA256 b2e418ef9ca25533fffb48f696fa8b5e8f129f234b4ee52edb0cc22acd92187b files/di
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEOuCr2CTtIKiFlQIRAilcAKCoiGGLd1fCvC6EOXEXuqNQeNxA8gCgsbzq
+ac/WR3wAkpsG8ahWkxL/i44=
+=zGxl
+-----END PGP SIGNATURE-----
diff --git a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild b/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
index 031d32b564ba..821f399f2c6b 100644
--- a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
+++ b/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild,v 1.10 2006/02/22 21:50:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild,v 1.11 2006/04/10 22:47:52 tupone Exp $
inherit eutils games
@@ -30,7 +30,8 @@ src_unpack() {
cd "${S}"
epatch \
"${FILESDIR}"/${P}-x-inc.patch \
- "${FILESDIR}"/${P}-sizeof-cast.patch
+ "${FILESDIR}"/${P}-sizeof-cast.patch \
+ "${FILESDIR}"/${P}-gcc41.patch
if use vorbis ; then
cp "${DISTDIR}"/${MY_OGG} "${S}"/ || die "cp failed"
sed -i \
diff --git a/games-simulation/cannonsmash/files/0.6.5-loadparts.patch b/games-simulation/cannonsmash/files/0.6.5-loadparts.patch
deleted file mode 100644
index be5bf56aed32..000000000000
--- a/games-simulation/cannonsmash/files/0.6.5-loadparts.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- loadparts.cpp.orig 2003-03-09 20:35:34.000000000 -0500
-+++ loadparts.cpp 2003-03-09 20:35:48.000000000 -0500
-@@ -429,9 +429,9 @@
- ++i;
- }
- }
-- if (!i) {
-- printf("%d: %s is empty object\n", lineno, object->name);
-- }
-+// if (!i) {
-+// printf("%d: %s is empty object\n", lineno, object->name);
-+// }
- return true;
- }
-
diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch
new file mode 100644
index 000000000000..0f3e511f09cc
--- /dev/null
+++ b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch
@@ -0,0 +1,22 @@
+--- BallView.h.old 2006-04-11 00:10:37.000000000 +0200
++++ BallView.h 2006-04-11 00:10:53.000000000 +0200
+@@ -32,7 +32,7 @@
+
+ static GLuint m_number[10];
+ private:
+- void BallView::DrawTargetCircle();
++ void DrawTargetCircle();
+ GLUquadricObj *m_quad;
+
+ void DrawBall();
+--- matrix.old 2006-04-11 00:13:18.000000000 +0200
++++ matrix 2006-04-11 00:19:34.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ /* __BEGIN__BEGIN__ */
+ //__NAMESPACE_BEGIN(ese);
+-#if (!defined __GNUG__) || (__GNUC__ == 3)
++#if (!defined __GNUG__) || (__GNUC__ >= 3)
+ template<typename T>
+ void swap(T& a, T& b)
+ {