summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/bzflag')
-rw-r--r--games-action/bzflag/ChangeLog6
-rw-r--r--games-action/bzflag/Manifest5
-rw-r--r--games-action/bzflag/bzflag-2.0.10.ebuild8
-rw-r--r--games-action/bzflag/files/bzflag-2.0.10-gcc4.3.patch393
4 files changed, 408 insertions, 4 deletions
diff --git a/games-action/bzflag/ChangeLog b/games-action/bzflag/ChangeLog
index ea9b799b3623..ce0660746090 100644
--- a/games-action/bzflag/ChangeLog
+++ b/games-action/bzflag/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/bzflag
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.34 2008/02/29 18:21:15 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.35 2008/06/14 15:12:56 coldwind Exp $
+
+ 14 Jun 2008; Santiago M. Mola <coldwind@gentoo.org>
+ +files/bzflag-2.0.10-gcc4.3.patch, bzflag-2.0.10.ebuild:
+ Added patch for gcc 4.3 compatibility.
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> bzflag-2.0.8.ebuild,
bzflag-2.0.10.ebuild:
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest
index 0f0cdfd466ee..a558e85666d9 100644
--- a/games-action/bzflag/Manifest
+++ b/games-action/bzflag/Manifest
@@ -1,7 +1,8 @@
+AUX bzflag-2.0.10-gcc4.3.patch 12265 RMD160 d0c75fe35dfdc77bbae0704b1691c349ad7b3a41 SHA1 ff63068d6165c5e2d9cc19507466bb7548bf5e26 SHA256 5eda02418a8a6b17409809b0a98368b422653d834e72a10d486e03313ec4c97e
AUX bzflag-2.0.8-gcc4.patch 2290 RMD160 f2e8ada13d09c965173e18282418835a673b3057 SHA1 be45ab2e9ccd5499d85ad2d265e0becbf709db5e SHA256 408b59c6fd1bcde89144e8684e23a7e68e37b32ed28a1b8c733480dd23c64e07
DIST bzflag-2.0.10.tar.bz2 11427143 RMD160 deefbcfef81b6ff9e86af7f3d7a8c811cdce8fd7 SHA1 24e79127656d2ae5893a84975e16244c62f5ba88 SHA256 b9cf6214aee8e1cac2f66e3c6f8c213ef401123ac36dc0c8abeec0d9021c5deb
DIST bzflag-2.0.8.tar.bz2 11330988 RMD160 8458df60f23b0192885835f6ac6d01e4d57b7d80 SHA1 de4fb0c55c106711d1c213b50edeeedcbbea9da0 SHA256 8d120aef46ad92d2699e582b32c44daac76bd274cf30c8be72223210cbdd9a20
-EBUILD bzflag-2.0.10.ebuild 1814 RMD160 1ab044ce6063d3e78a51c66833cc1b2a5fccf9a8 SHA1 10bb2e79c2e3df8539c951cfca6df5c77c5f267d SHA256 835ca4cda185635a492ce91e01b7ad3da2d81a454f37d19d61a81adbd86f550b
+EBUILD bzflag-2.0.10.ebuild 1899 RMD160 3052548f946635bf767c2f1e675449f7b522f294 SHA1 12493a75aa3e0898977558b6c82ea28643817690 SHA256 4433ea59e441793fbd579c0f01fd0a04ff4bbe7e48ce849c3c63edf37825b0af
EBUILD bzflag-2.0.8.ebuild 1900 RMD160 074c4d00fd58cbd090a0c52d429f8eb4a18ea74b SHA1 16ed9a13ba9b4fbfd7322901ef2ef5013e03c170 SHA256 3820a20bd771bb53d483a14b005d5bf753cd18d88b8f16618eb3da3bc5f0fa60
-MISC ChangeLog 6518 RMD160 e0e884e6012862a9843e96a7734c9ca9597eb2d0 SHA1 b6df896484cdbaccf34c321460bc4187a891382e SHA256 7915a373722ca2585ebd5a5d86d52cac826a6bfe9a8c5a0b5bb5e02645ebed08
+MISC ChangeLog 6676 RMD160 e0cf953b083250aae3d4b8edda5c8dfe719ca881 SHA1 62b5d8747f6d4627fd4502443e7bfcdee5a3bfb6 SHA256 170bcadf02b5329ddad2477dad7ae4021cf56d114dbb1c8232f8cb964ea7f7d8
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/bzflag/bzflag-2.0.10.ebuild b/games-action/bzflag/bzflag-2.0.10.ebuild
index d1c9641f9b7d..096b6ba23044 100644
--- a/games-action/bzflag/bzflag-2.0.10.ebuild
+++ b/games-action/bzflag/bzflag-2.0.10.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-action/bzflag/bzflag-2.0.10.ebuild,v 1.3 2008/02/29 18:21:15 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-2.0.10.ebuild,v 1.4 2008/06/14 15:12:56 coldwind Exp $
inherit eutils flag-o-matic games
@@ -45,6 +45,12 @@ pkg_setup() {
games_pkg_setup
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
+}
+
src_compile() {
local myconf
diff --git a/games-action/bzflag/files/bzflag-2.0.10-gcc4.3.patch b/games-action/bzflag/files/bzflag-2.0.10-gcc4.3.patch
new file mode 100644
index 000000000000..b8998af24887
--- /dev/null
+++ b/games-action/bzflag/files/bzflag-2.0.10-gcc4.3.patch
@@ -0,0 +1,393 @@
+--- ./src/bzfs/CustomGroup.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomGroup.cxx 2008-06-10 01:24:51.000000000 +0200
+@@ -16,6 +16,7 @@
+ /* system headers */
+ #include <sstream>
+ #include <string>
++#include <cstring>
+
+ /* common headers */
+ #include "global.h" // for CtfTeams
+--- ./src/bzfs/WorldFileObstacle.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/WorldFileObstacle.cxx 2008-06-10 01:34:39.000000000 +0200
+@@ -16,6 +16,7 @@
+
+ #include "common.h"
+ #include <math.h>
++#include <cstring>
+
+ #include "WorldFileObstacle.h"
+
+--- ./src/bzfs/WorldFileObject.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/WorldFileObject.cxx 2008-06-10 01:34:09.000000000 +0200
+@@ -23,6 +23,7 @@
+ #include <string>
+ #include <iostream>
+ #include <vector>
++#include <cstring>
+
+ WorldFileObject::WorldFileObject()
+ {
+--- ./src/bzfs/CustomDynamicColor.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomDynamicColor.cxx 2008-06-10 01:24:31.000000000 +0200
+@@ -18,6 +18,7 @@
+ /* system implementation headers */
+ #include <sstream>
+ #include <vector>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "DynamicColor.h"
+--- ./src/bzfs/Authentication.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/Authentication.cxx 2008-06-10 01:23:10.000000000 +0200
+@@ -20,6 +20,7 @@
+ #endif
+
+ /* system implementation headers */
++#include <cstring>
+ #ifdef HAVE_KRB5
+ #include <com_err.h>
+ #endif
+--- ./src/bzfs/TeamBases.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/TeamBases.cxx 2008-06-10 01:33:13.000000000 +0200
+@@ -19,6 +19,8 @@
+ #include "Pack.h"
+ #include "BZDBCache.h"
+
++#include <cstring>
++
+ TeamBases::TeamBases()
+ {
+ color = RedTeam;
+--- ./src/bzfs/CustomWeapon.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomWeapon.cxx 2008-06-10 01:28:34.000000000 +0200
+@@ -18,6 +18,7 @@
+ #include <sstream>
+ #include <string>
+ #include <math.h>
++#include <cstring>
+
+ /* local implementation headers */
+ #include "WorldWeapons.h"
+--- ./src/bzfs/CustomWaterLevel.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomWaterLevel.cxx 2008-06-10 01:27:59.000000000 +0200
+@@ -23,6 +23,8 @@
+ #include "BzMaterial.h"
+ #include "TextureMatrix.h"
+
++#include <cstring>
++
+
+ CustomWaterLevel::CustomWaterLevel()
+ {
+--- ./src/bzfs/ParseMaterial.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/ParseMaterial.cxx 2008-06-10 01:30:10.000000000 +0200
+@@ -16,6 +16,7 @@
+
+ /* system headers */
+ #include <sstream>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "ParseColor.h"
+--- ./src/bzfs/WorldFileLocation.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/WorldFileLocation.cxx 2008-06-10 01:33:56.000000000 +0200
+@@ -17,6 +17,7 @@
+ #include "Pack.h"
+ #include <math.h>
+ #include <sstream>
++#include <cstring>
+
+ #include "WorldFileObject.h"
+ #include "WorldFileLocation.h"
+--- ./src/bzfs/CustomPhysicsDriver.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomPhysicsDriver.cxx 2008-06-10 01:27:01.000000000 +0200
+@@ -17,6 +17,7 @@
+
+ /* system implementation headers */
+ #include <sstream>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "PhysicsDriver.h"
+--- ./src/bzfs/CustomMeshTransform.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomMeshTransform.cxx 2008-06-10 01:26:30.000000000 +0200
+@@ -17,6 +17,7 @@
+
+ /* system implementation headers */
+ #include <sstream>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "MeshTransform.h"
+--- ./src/bzfs/CustomBase.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomBase.cxx 2008-06-10 01:24:10.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ /* interface header */
+ #include "CustomBase.h"
++#include <cstring>
+
+ /* common implementation headers */
+ #include "global.h" // for CtfTeams
+--- ./src/bzfs/CustomTextureMatrix.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomTextureMatrix.cxx 2008-06-10 01:27:26.000000000 +0200
+@@ -17,6 +17,7 @@
+
+ /* system implementation headers */
+ #include <math.h>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "TextureMatrix.h"
+--- ./src/bzfs/CustomZone.cxx 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzfs/CustomZone.cxx 2008-06-10 01:29:24.000000000 +0200
+@@ -21,6 +21,7 @@
+ #include <string>
+ #include <sstream>
+ #include <math.h>
++#include <cstring>
+
+ /* local implementation headers */
+ //#include "EntryZones.h"
+--- ./src/3D/FontManager.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/3D/FontManager.cxx 2008-06-10 01:09:48.000000000 +0200
+@@ -19,6 +19,7 @@
+ // System headers
+ #include <math.h>
+ #include <string>
++#include <cstring>
+
+ // Global implementation headers
+ #include "bzfgl.h"
+--- ./src/net/AresHandler.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/net/AresHandler.cxx 2008-06-10 01:14:50.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ /* interface header */
+ #include "AresHandler.h"
++#include <cstring>
+
+ /* system implementation headers */
+ #include <errno.h>
+--- ./src/scene/BSPSceneDatabase.cxx 2007-11-15 23:10:54.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/scene/BSPSceneDatabase.cxx 2008-06-10 01:21:02.000000000 +0200
+@@ -15,6 +15,7 @@
+ */
+
+ #include "common.h"
++#include <cstring>
+ #include "SceneNode.h"
+ #include <assert.h>
+ #include "BSPSceneDatabase.h"
+--- ./src/geometry/TankSceneNode.cxx 2007-11-15 23:10:49.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/geometry/TankSceneNode.cxx 2008-06-10 01:18:04.000000000 +0200
+@@ -20,6 +20,7 @@
+
+ // system headers
+ #include <math.h>
++#include <cstring>
+
+ // common implementation headers
+ #include "StateDatabase.h"
+--- ./src/geometry/WallSceneNode.cxx 2007-11-15 23:10:49.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/geometry/WallSceneNode.cxx 2008-06-10 01:18:28.000000000 +0200
+@@ -21,6 +21,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <math.h>
++#include <cstring>
+
+ // common implementation headers
+ #include "StateDatabase.h"
+--- ./src/common/StateDatabase.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/StateDatabase.cxx 2008-06-10 01:13:15.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include <iostream>
+ #include <math.h>
+ #include <string>
++#include <cstring>
+
+ // local implementation headers
+ #include "ErrorHandler.h"
+--- ./src/common/AccessList.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/AccessList.cxx 2008-06-10 01:10:18.000000000 +0200
+@@ -18,6 +18,7 @@
+ // system headers
+ #include <stdio.h>
+ #include <ctype.h>
++#include <cstring>
+
+ // common headers
+ #include "bzfio.h"
+--- ./src/common/TimeKeeper.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/TimeKeeper.cxx 2008-06-10 01:14:06.000000000 +0200
+@@ -16,6 +16,7 @@
+ /* system implementation headers */
+ #include <time.h>
+ #include <string>
++#include <cstring>
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+--- ./src/common/TextUtils.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/TextUtils.cxx 2008-06-10 01:13:47.000000000 +0200
+@@ -18,6 +18,7 @@
+
+ // system headers
+ #include <string>
++#include <cstring>
+ #include <algorithm>
+ #include <sstream>
+ #include <stdarg.h>
+--- ./src/common/Flag.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/Flag.cxx 2008-06-10 01:11:59.000000000 +0200
+@@ -18,6 +18,7 @@
+ /* system implementation headers */
+ #include <math.h>
+ #include <string>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "Team.h"
+--- ./src/common/cURLManager.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/cURLManager.cxx 2008-06-10 01:14:25.000000000 +0200
+@@ -13,6 +13,7 @@
+ // class interface header
+
+ #include "cURLManager.h"
++#include <cstring>
+
+ // common implementation headers
+ #include "bzfio.h"
+--- ./src/common/Bundle.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/common/Bundle.cxx 2008-06-10 01:11:18.000000000 +0200
+@@ -20,6 +20,7 @@
+ // system headers
+ #include <fstream>
+ #include <stdio.h>
++#include <cstring>
+
+ // local implementation headers
+ #include "StateDatabase.h"
+--- ./src/ogl/OpenGLTexture.cxx 2007-11-15 23:10:46.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/ogl/OpenGLTexture.cxx 2008-06-10 01:20:10.000000000 +0200
+@@ -14,6 +14,7 @@
+
+ // system headers
+ #include <string>
++#include <cstring>
+
+ // common headers
+ #include "bzfio.h"
+--- ./src/mediafile/PNGImageFile.cxx 2007-11-15 23:10:46.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/mediafile/PNGImageFile.cxx 2008-06-10 01:21:39.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include "common.h"
+ #include "PNGImageFile.h"
+ #include <iostream>
++#include <cstring>
+ #include "Pack.h"
+ #include "bzfio.h"
+ #include "../zlib/zconf.h"
+--- ./src/bzadmin/OptionParser.cxx 2007-11-15 23:10:48.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzadmin/OptionParser.cxx 2008-06-10 01:46:08.000000000 +0200
+@@ -16,6 +16,7 @@
+
+ /* interface header */
+ #include "OptionParser.h"
++#include <cstring>
+
+
+ OptionParser::OptionParser(const std::string& helpPrefix,
+--- ./src/game/ServerItem.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/game/ServerItem.cxx 2008-06-10 01:15:35.000000000 +0200
+@@ -14,6 +14,7 @@
+
+ /* system headers */
+ #include <string>
++#include <cstring>
+
+ /* interface header */
+ #include "ServerItem.h"
+--- ./src/game/ServerListCache.cxx 2007-11-16 23:56:01.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/game/ServerListCache.cxx 2008-06-10 01:16:56.000000000 +0200
+@@ -15,6 +15,7 @@
+
+ /* system headers */
+ #include <fstream>
++#include <cstring>
+
+ // invoke persistent rebuilding for build versioning
+ #include "version.h"
+--- ./src/game/ServerList.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/game/ServerList.cxx 2008-06-10 01:16:09.000000000 +0200
+@@ -17,6 +17,8 @@
+ #include <iostream>
+ #include <vector>
+ #include <string>
++#include <cstring>
++
+ #if !defined(_WIN32)
+ #include <errno.h>
+ #endif
+--- ./src/bzflag/ServerMenu.cxx 2007-11-15 23:10:58.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzflag/ServerMenu.cxx 2008-06-10 01:43:53.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ /* interface header */
+ #include "ServerMenu.h"
++#include <cstring>
+
+ /* common implementation headers */
+ #include "FontManager.h"
+--- ./src/bzflag/HelpMenu.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzflag/HelpMenu.cxx 2008-06-10 01:41:02.000000000 +0200
+@@ -17,6 +17,7 @@
+ #include "KeyManager.h"
+ #include "Flag.h"
+ #include "FontManager.h"
++#include <cstring>
+
+ /* local implementation headers */
+ #include "HUDDialogStack.h"
+--- ./src/bzflag/sound.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzflag/sound.cxx 2008-06-10 01:45:35.000000000 +0200
+@@ -16,6 +16,7 @@
+ // system headers
+ #include <vector>
+ #include <map>
++#include <cstring>
+
+ // common headers
+ #include "BzfMedia.h"
+--- ./src/bzflag/ControlPanel.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzflag/ControlPanel.cxx 2008-06-10 01:39:00.000000000 +0200
+@@ -19,6 +19,7 @@
+ /* system headers */
+ #include <assert.h>
+ #include <time.h>
++#include <cstring>
+
+ /* common implementation headers */
+ #include "BZDBCache.h"
+--- ./src/bzflag/JoinMenu.cxx 2007-11-15 23:10:59.000000000 +0100
++++ ../bzflag-2.0.10.cstring/./src/bzflag/JoinMenu.cxx 2008-06-10 01:42:37.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ /* interface header */
+ #include "JoinMenu.h"
++#include <cstring>
+
+ /* common implementation headers */
+ #include "FontManager.h"
+--- src/bzfs/AccessControlList.h 2007-11-15 23:10:56.000000000 +0100
++++ ../bzflag-2.0.10/src/bzfs/AccessControlList.h 2008-06-10 02:08:42.000000000 +0200
+@@ -15,6 +15,7 @@
+
+ #include <vector>
+ #include <string>
++#include <cstring>
+
+ #include "TimeKeeper.h"
+ #include "Address.h"