diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-05-10 10:59:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-05-10 10:59:11 +0000 |
commit | 4096306dcb21a04ac1f7eab5056481882c730465 (patch) | |
tree | 301ce90644d722faaa4be4243b96b01335c92237 /games-action | |
parent | Add fix from Debian for building with gcc-4.3 #218833 by Peter Alfredsen. (diff) | |
download | historical-4096306dcb21a04ac1f7eab5056481882c730465.tar.gz historical-4096306dcb21a04ac1f7eab5056481882c730465.tar.bz2 historical-4096306dcb21a04ac1f7eab5056481882c730465.zip |
Add fix by Martin Väth for building with gcc-4.3 #218542.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/armagetronad/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/armagetronad/Manifest | 15 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild | 5 | ||||
-rw-r--r-- | games-action/armagetronad/files/armagetronad-0.2.7.1-gcc43.patch | 415 |
4 files changed, 437 insertions, 6 deletions
diff --git a/games-action/armagetronad/ChangeLog b/games-action/armagetronad/ChangeLog index 720303c503bd..8f7fe3971cb9 100644 --- a/games-action/armagetronad/ChangeLog +++ b/games-action/armagetronad/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/armagetronad -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/ChangeLog,v 1.11 2006/10/30 03:38:24 vapier Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/ChangeLog,v 1.12 2008/05/10 10:59:10 vapier Exp $ + + 10 May 2008; Mike Frysinger <vapier@gentoo.org> + +files/armagetronad-0.2.7.1-gcc43.patch, armagetronad-0.2.7.1-r1.ebuild: + Add fix by Martin Väth for building with gcc-4.3 #218542. 30 Oct 2006; Mike Frysinger <vapier@gentoo.org> files/armagetronad, files/armagetronad-ded, armagetronad-0.2.7.1-r1.ebuild: diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest index 3f66e3a5831e..3febe3493ca5 100644 --- a/games-action/armagetronad/Manifest +++ b/games-action/armagetronad/Manifest @@ -1,10 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX armagetronad 961 RMD160 a819cdcd81eb604d4a9f532510bd085f402e7d76 SHA1 9af62de21e0976237f4e9921bcedf685609ac45c SHA256 9794c2d7f9483a946e7c2a720a902cbd5199e1be2da7fe42be523cbc97764063 AUX armagetronad-0.2.7.1-gcc4.patch 2269 RMD160 aabe55c0522d5cf6112fd4f3195dbb902c9ce0be SHA1 2a6769775e08ebfb42c837b6750031c67a9da1d4 SHA256 17bd03efb07f729db9f37e730b9e6582f13cf333c66e68941cbbc6634fdb8e86 +AUX armagetronad-0.2.7.1-gcc43.patch 8497 RMD160 abe52bdeb47f4a235d1d44ada3d1c708ef223b1e SHA1 b1a445dc21777cf9dbb9a1f506581de22c6b4682 SHA256 6c892e9028b16198a11f4b3d72f8a6eff553acf15b1cf1df1b440465d083bab0 AUX armagetronad-0.2.7.1-security-1.patch 527 RMD160 c9e68014c8a1fc1aaf06aacbcac8521007996932 SHA1 0029073a50655e6f87935732de186ced9d4db16e SHA256 b813bb1e74188e200217fa31f075c90ff625d8e9d2f073d8a6ced120af228cd0 AUX armagetronad-ded 905 RMD160 035ea8726e699270e0cfd362ddced5b2b6bff384 SHA1 fe6e2899d63874b6a7740c295dd83a08fd2e8cfa SHA256 e1bfc2fdd5edaaa64f161c8be8aa68abf1d83b02f48701fb82777da1cf0f163c DIST armagetronad-0.2.7.1.tar.bz2 1243746 RMD160 0dcf9d383fccd42509cae3aacc2df0d5531bd021 SHA1 a93d587e1154f0465c6fdb3c5518a5003add6240 SHA256 0ec8793f6d4d4f5a90feec1c8b0a4846aa4fa2c1f3c69a20b21b5e930d70992c DIST moviepack.zip 352253 RMD160 07c8b2aa48ad84092869c90e32d32a96d367afd5 SHA1 2dfe328f325add441a74c79685806d16fddce2c6 SHA256 3de835e1e8af71f1dcbf5ac8405dfa87973eac50d206c12338278fc601cf9d78 DIST moviesounds_fq.zip 2182021 RMD160 9fe95f3cc31bfdf9149bf850d5ae46ca5253a09a SHA1 357d87ef40e25bec19fdc8a3aac70db53d3820ec SHA256 9f8061eb0fef416885424bdba9f899fc5b4d9a021f46eef4eb821a7f1e08c1ba -EBUILD armagetronad-0.2.7.1-r1.ebuild 2299 RMD160 e86149f7bb8fe201ba00a710694aa9f4f0c2bb95 SHA1 42483f87e2ee56180be93cb10349c2f25de67120 SHA256 ecacf9a4b77787da7857e51f9946e05b35d502d5b59f9ea1caaca3a0925c78fc -MISC ChangeLog 1874 RMD160 3b91c1e2c67796f7784f451570b207c847359df7 SHA1 cd8ca9199e83d47f46184770cb3688d429676fd3 SHA256 795dd513475a444e0569056936b81fa2bd7e517392e107255ca6495bc529fbe2 +EBUILD armagetronad-0.2.7.1-r1.ebuild 2348 RMD160 e58cb546e4b48277802d1b119b2b15d632f387c9 SHA1 144dc822b3a127a3e537ecdd586ea393d0501b61 SHA256 d3d9ddb45c7d0ce628d43642f0524f44eb548dbc7a8371cf6383ff189aec9aa5 +MISC ChangeLog 2061 RMD160 670919b4203c4d83166634baf57543bae5d555d2 SHA1 2560b1ea3293311b3702a32ce3e59c83f1cd4dba SHA256 9f86b72ae71b32b9bca92696b09654270d6d59c53b611e11a94c02541cbab91c MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFIJYAEj9hvisErhMIRAvWnAJ9kGBv32W7wFcPDbjBbQ4p8j7+igwCgs2c6 +UAK4mED/SCTIuoqtPk5qy4s= +=PMVw +-----END PGP SIGNATURE----- diff --git a/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild b/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild index cdf332dfe9db..5076864424dd 100644 --- a/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild +++ b/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.6 2007/04/05 23:58:47 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.7 2008/05/10 10:59:10 vapier Exp $ inherit eutils games @@ -34,6 +34,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-gcc43.patch #218542 epatch "${FILESDIR}"/${P}-security-1.patch cp "${FILESDIR}"/${PN}-ded "${FILESDIR}"/${PN} . || die sed -i \ diff --git a/games-action/armagetronad/files/armagetronad-0.2.7.1-gcc43.patch b/games-action/armagetronad/files/armagetronad-0.2.7.1-gcc43.patch new file mode 100644 index 000000000000..c7a6b78144a7 --- /dev/null +++ b/games-action/armagetronad/files/armagetronad-0.2.7.1-gcc43.patch @@ -0,0 +1,415 @@ +http://bugs.gentoo.org/218542 + +--- src/engine/eAdvWall.h ++++ src/engine/eAdvWall.h +@@ -5,7 +5,7 @@ + ArmageTron -- Just another Tron Lightcycle Game in 3D. + Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) + #include <stdio> +-#include <stdlib.h> ++#include <cstdlib> + ************************************************************************** + + This program is free software; you can redistribute it and/or +--- src/engine/eFloor.cpp ++++ src/engine/eFloor.cpp +@@ -28,7 +28,7 @@ + #include "eFloor.h" + #include "rScreen.h" + #include "rTexture.h" +-#include <stdlib.h> ++#include <cstdlib> + + eFloor::eFloor(){Floor = this;} + +--- src/engine/eSound.cpp ++++ src/engine/eSound.cpp +@@ -36,7 +36,7 @@ + #include "eCamera.h" + //#include "tList.h" + #include <iostream> +-#include <stdlib.h> ++#include <cstdlib> + #include "eGrid.h" + + //eGrid* eSoundPlayer::S_Grid = NULL; +--- src/network/md5.cpp ++++ src/network/md5.cpp +@@ -77,6 +77,7 @@ + #include "md5.h" + + #include <string> ++#include <cstring> + #include <memory> + + #ifdef TEST +--- src/network/nAuthentification.cpp ++++ src/network/nAuthentification.cpp +@@ -35,6 +35,7 @@ + + #include <memory> + #include <string> ++#include <cstring> + + static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL; + static nAuthentification::LoginResultCallback* S_LoginResultCallback = NULL; +--- src/network/nConfig.cpp ++++ src/network/nConfig.cpp +@@ -27,6 +27,7 @@ + + #include "nConfig.h" + #include "tConsole.h" ++#include <cstring> + + nConfItemBase::nConfItemBase() + :tConfItemBase(""){}; +--- src/network/nKrawall.cpp ++++ src/network/nKrawall.cpp +@@ -41,7 +41,8 @@ + #include "tSysTime.h" + #include "tMemManager.h" + +-#include <stdlib.h> ++#include <cstdlib> ++#include <cstring> + #include <string> + + bool nKrawall::MayRequirePassword(tString& adress, unsigned int port) +--- src/network/nNet.h ++++ src/network/nNet.h +@@ -25,7 +25,7 @@ + #ifndef NET_ANET_H + #define NET_ANET_H + +-#include <stdlib.h> ++#include <cstdlib> + #include <sys/types.h> + + #ifndef WIN32 +--- src/network/nNetwork.cpp ++++ src/network/nNetwork.cpp +@@ -34,7 +34,7 @@ + #include "tDirectories.h" + #include "nNet.h" + #include "tSysTime.h" +-#include <stdlib.h> ++#include <cstdlib> + #include <fstream> + #include <tMath.h> + +--- src/network/nServerInfo.cpp ++++ src/network/nServerInfo.cpp +@@ -42,6 +42,7 @@ + #include "nNet.h" + + #include <fstream> ++#include <cstring> + + static nServerInfo* sn_FirstServer = NULL; + static sn_ServerInfoCreator* sn_Creator = NULL; +--- src/network/net_udp.cpp ++++ src/network/net_udp.cpp +@@ -24,7 +24,8 @@ + #include "nNet.h" + + #include <string> +-#include <stdio.h> ++#include <cstring> ++#include <cstdio> + + #include <sys/types.h> + +@@ -60,7 +61,7 @@ + + + #include <errno.h> +-#include <stdlib.h> ++#include <cstdlib> + + + #ifdef __sun__ +--- src/network/net_wins.cpp ++++ src/network/net_wins.cpp +@@ -30,8 +30,8 @@ + #include <winsock.h> + #include <sys/timeb.h> + #endif +-#include <stdlib.h> +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> + + #include "tString.h" + #include "nNet.h" +--- src/render/rConsoleCout.cpp ++++ src/render/rConsoleCout.cpp +@@ -29,7 +29,7 @@ + #include "rFont.h" + #include "tConfiguration.h" + +-#include <stdio.h> ++#include <cstdio> + #include <fcntl.h> + #include <sstream> + +--- src/render/rFont.cpp ++++ src/render/rFont.cpp +@@ -28,7 +28,8 @@ + #include "rFont.h" + #include "rScreen.h" + #include "tConfiguration.h" +-#include <ctype.h> ++#include <cctype> ++#include <cstring> + + #ifndef DEDICATED + #include "rRender.h" +--- src/render/rModel.cpp ++++ src/render/rModel.cpp +@@ -26,8 +26,9 @@ + */ + + #include <string> ++#include <cstring> + #include <fstream> +-#include <stdlib.h> ++#include <cstdlib> + #include "rScreen.h" + #include "rModel.h" + #include "tString.h" +--- src/render/testgl.cpp ++++ src/render/testgl.cpp +@@ -1,5 +1,5 @@ +-#include <stdlib.h> +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> + #include <string> + + #include "rSDL.h" +--- src/tools/tArray.cpp ++++ src/tools/tArray.cpp +@@ -29,8 +29,9 @@ + + #include "tMemManager.h" + #include <iostream> +-#include <stdlib.h> ++#include <cstdlib> + #include <string> ++#include <cstring> + #include "tArray.h" + + void GrowingArrayBase::ComplainIfFull(){ +--- src/tools/tConfiguration.cpp ++++ src/tools/tConfiguration.cpp +@@ -29,8 +29,9 @@ + #include <iomanip> + #include <iostream> + #include "tConfiguration.h" +-#include <stdlib.h> +-#include <ctype.h> ++#include <cstdlib> ++#include <cctype> ++#include <cstring> + #include <string> + #include "tString.h" + #include "tToDo.h" +--- src/tools/tConfiguration.h ++++ src/tools/tConfiguration.h +@@ -35,7 +35,7 @@ + #include "tConsole.h" + #include "tLocale.h" + #include <iostream> +-#include <ctype.h> ++#include <cctype> + + + class tConfItemBase:public tListItem<tConfItemBase>{ +--- src/tools/tCrypt.cpp ++++ src/tools/tCrypt.cpp +@@ -29,6 +29,7 @@ + #include "tMemManager.h" + + #include <string> ++#include <cstring> + + class tCryptDummy: public tCrypt + { +--- src/tools/tDirectories.cpp ++++ src/tools/tDirectories.cpp +@@ -36,6 +36,7 @@ + #include <windows.h> + #endif + ++#include <cstring> + #include <dirent.h> + #include <sys/types.h> + #include <sys/stat.h> +--- src/tools/tError.cpp ++++ src/tools/tError.cpp +@@ -25,6 +25,7 @@ + + */ + ++#include <cstdlib> + #include <iostream> + #ifndef WIN32 + #include <unistd.h> +--- src/tools/tLinkedList.h ++++ src/tools/tLinkedList.h +@@ -28,7 +28,7 @@ + #ifndef ArmageTron_tLinkedList_H + #define ArmageTron_tLinkedList_H + +-#include <stdlib.h> ++#include <cstdlib> + + class tListItemBase{ + protected: +--- src/tools/tList.h ++++ src/tools/tList.h +@@ -31,7 +31,7 @@ + #include "tArray.h" + #include "tSafePTR.h" + #include <new> +-#include <stdlib.h> ++#include <cstdlib> + + namespace referencing + { +--- src/tools/tLocale.cpp ++++ src/tools/tLocale.cpp +@@ -32,6 +32,7 @@ + + #include <fstream> + #include <string> ++#include <cstring> + + class tLocaleSubItem; // identifies a single string in a single language + +--- src/tools/tMemManager.cpp ++++ src/tools/tMemManager.cpp +@@ -29,7 +29,7 @@ + + #include <iostream> + #include <sstream> +-#include <stdio.h> // need basic C IO since STL IO does memory management ++#include <cstdio> // need basic C IO since STL IO does memory management + #include "tMemManager.h" + #include "tError.h" + +--- src/tools/tMemManager.h ++++ src/tools/tMemManager.h +@@ -37,7 +37,7 @@ + //#endif + #endif + +-#include <stdlib.h> ++#include <cstdlib> + + class tMemMan{ + public: +--- src/tools/tMemStack.cpp ++++ src/tools/tMemStack.cpp +@@ -27,7 +27,7 @@ + + #include "tMemStack.h" + #include "tArray.h" +-#include <stdlib.h> ++#include <cstdlib> + + static int& ST_Size() + +--- src/tools/tString.cpp ++++ src/tools/tString.cpp +@@ -28,7 +28,8 @@ + #include "tMemManager.h" + #include "tString.h" + #include "tLocale.h" +-#include <ctype.h> ++#include <cctype> ++#include <cstring> + #include <string> + #include <iostream> + +--- src/tools/transfab.cpp ++++ src/tools/transfab.cpp +@@ -26,7 +26,7 @@ + */ + + #include <iostream> +-#include <ctype.h> ++#include <cctype> + #include <string> + + int main(){ +--- src/tron/gAIBase.cpp ++++ src/tron/gAIBase.cpp +@@ -40,7 +40,7 @@ + #include "eDebugLine.h" + #include "gAICharacter.h" + #include "tReferenceHolder.h" +-#include <stdlib.h> ++#include <cstdlib> + + #define AI_REACTION 0 + #define AI_EMERGENCY 1 +--- src/tron/gArmagetron.cpp ++++ src/tron/gArmagetron.cpp +@@ -48,8 +48,8 @@ + #include "gAICharacter.h" + #include "gCycle.h" + //#include <unistd> +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstdio> ++#include <cstdlib> + #include <fstream> + + #include "nServerInfo.h" +--- src/tron/gCycle.cpp ++++ src/tron/gCycle.cpp +@@ -46,7 +46,7 @@ + #include "gAIBase.h" + + #include "tMath.h" +-#include <stdlib.h> ++#include <cstdlib> + + #ifndef DEDICATED + #include "rRender.h" +--- src/tron/gGame.cpp ++++ src/tron/gGame.cpp +@@ -66,10 +66,10 @@ + #include "eVoter.h" + + #include <math.h> +-#include <stdlib.h> ++#include <cstdlib> + #include <string> + #include <fstream> +-#include <ctype.h> ++#include <cctype> + #include <time.h> + + #ifdef DEDICATED +@@ -3586,7 +3586,7 @@ + } + + #include <fcntl.h> +-#include <stdio.h> ++#include <cstdio> + #include <errno.h> + + bool GameLoop(bool input=true){ +--- src/tron/gWall.h ++++ src/tron/gWall.h +@@ -5,7 +5,7 @@ + ArmageTron -- Just another Tron Lightcycle Game in 3D. + Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) + #include <stdio> +-#include <stdlib.h> ++#include <cstdlib> + ************************************************************************** + + This program is free software; you can redistribute it and/or |