summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-04-30 21:54:40 +0000
committerTristan Heaven <tristan@gentoo.org>2008-04-30 21:54:40 +0000
commitc7d61782e852560623431b15956e762454df427f (patch)
tree41e261913d133f79106411542258ecd25369785b /games-arcade/crack-attack
parentFix building with gcc-4.3 (diff)
downloadhistorical-c7d61782e852560623431b15956e762454df427f.tar.gz
historical-c7d61782e852560623431b15956e762454df427f.tar.bz2
historical-c7d61782e852560623431b15956e762454df427f.zip
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-arcade/crack-attack')
-rw-r--r--games-arcade/crack-attack/ChangeLog6
-rw-r--r--games-arcade/crack-attack/Manifest15
-rw-r--r--games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild8
-rw-r--r--games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch10
4 files changed, 33 insertions, 6 deletions
diff --git a/games-arcade/crack-attack/ChangeLog b/games-arcade/crack-attack/ChangeLog
index 56ee7513eb9b..c7639f264d1f 100644
--- a/games-arcade/crack-attack/ChangeLog
+++ b/games-arcade/crack-attack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/crack-attack
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.22 2008/02/29 18:56:30 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.23 2008/04/30 21:54:40 nyhm Exp $
+
+ 30 Apr 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/crack-attack-1.1.14-gcc43.patch, crack-attack-1.1.14-r1.ebuild:
+ Fix building with gcc-4.3
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org>
crack-attack-1.1.14-r1.ebuild:
diff --git a/games-arcade/crack-attack/Manifest b/games-arcade/crack-attack/Manifest
index 1f195808c281..1fed8fbef927 100644
--- a/games-arcade/crack-attack/Manifest
+++ b/games-arcade/crack-attack/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX crack-attack-1.1.14-gcc43.patch 172 RMD160 e14f08ef7787fd49203758e789f33eebcc279ae6 SHA1 8d6331db306d11baded373ad76816b369998da4e SHA256 1dfd8604fb171763eb758305c9cf035650d9c5c8acdf34e4c5e819b72b15db2a
AUX crack-attack-1.1.14-glut.patch 381 RMD160 493031a5dafbc3897b65264360a70c0c55feefc9 SHA1 7b4243d632a95b00c4784c5cbe96445d59a31ae5 SHA256 fd17b93daa0aef9c53203d550a11675f0501578f33fa9f9777d2971ac6b2c89c
DIST crack-attack-1.1.14.tar.bz2 801404 RMD160 d8402c7f662bef2504b83de14882dbd41ff48ff5 SHA1 3d70ca7ceae667134415788b5c222437654b3102 SHA256 1e23e019f8740cd01fb3fbbb7903137b1e8971a8e9d0692da069106b8a0382e8
-EBUILD crack-attack-1.1.14-r1.ebuild 1086 RMD160 02e7e897d77e7dfdf515cfa4da5a9b3bdf5f1135 SHA1 808f42bc6551797de48a6ff6d0beea4d505d3b93 SHA256 bc9c800c44d0ed0831db6553eab34b4fd71939955c556ec6dffce4893063d956
-MISC ChangeLog 4201 RMD160 97f4ef0f3a3be7b1251a07436ebd44d8d6f499c6 SHA1 8a2256b6f2f3065c5589a243bb64a8d12881e85f SHA256 3fbe04d5ecce3ee89560351c9010f6bef9d689bdc44040ef2b8f8bbcd7a473b9
+EBUILD crack-attack-1.1.14-r1.ebuild 1111 RMD160 943e769d76730330475626924377bba7d6efbc72 SHA1 8679d34be5ae5e0160fd6587e97ba077aa8f70bf SHA256 2e7baaa6e3ce580cdf6c954d5523e870b758338255ca0a25cb8d0dd673bab1ca
+MISC ChangeLog 4350 RMD160 4b6f936a6ef2c93f11aa309c47f9958bfdfdf9c8 SHA1 a4511de8ca1914e8faab2cf871efa0046c73a211 SHA256 fbbdc8d38537f9e1442cf5599000e3e003f376204026a8627cbdfee18012c9d3
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkgY6qUACgkQdz7hIScOURHKTACePX65D7et8S1gUG9LnpPYO87t
+5dsAnAywCagTrYEJU9qvfUc2BhNm1p2+
+=T5s6
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild b/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild
index d0b9c6e50e08..26335dc6e8d0 100644
--- a/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild
+++ b/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild,v 1.4 2008/02/29 18:56:30 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild,v 1.5 2008/04/30 21:54:40 nyhm Exp $
inherit eutils games
@@ -20,7 +20,9 @@ DEPEND="virtual/glut
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-glut.patch
+ epatch \
+ "${FILESDIR}"/${P}-glut.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
touch * */*
}
@@ -38,6 +40,6 @@ src_install() {
dodoc AUTHORS ChangeLog README
dohtml -A xpm doc/*
doicon data/crack-attack.xpm
- make_desktop_entry crack-attack Crack-attack crack-attack
+ make_desktop_entry crack-attack Crack-attack
prepgamesdirs
}
diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch
new file mode 100644
index 000000000000..009d062f2eac
--- /dev/null
+++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/Game.h
++++ src/Game.h
+@@ -34,6 +34,7 @@
+ #include <climits>
+ #include <cstdlib>
+ #include <cmath>
++#include <cstring>
+
+ #ifdef __MINGW32__
+ # include <windows.h>