diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-05-01 10:15:44 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-05-01 10:15:44 +0000 |
commit | f96b34443f2dcd9bca0ed3cc8101deb1feb07898 (patch) | |
tree | 2f3c8283a79c80b75876290bafa4d4ffe0813668 /games-engines | |
parent | ia64/sparc stable (diff) | |
download | gentoo-2-f96b34443f2dcd9bca0ed3cc8101deb1feb07898.tar.gz gentoo-2-f96b34443f2dcd9bca0ed3cc8101deb1feb07898.tar.bz2 gentoo-2-f96b34443f2dcd9bca0ed3cc8101deb1feb07898.zip |
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/exult/ChangeLog | 6 | ||||
-rw-r--r-- | games-engines/exult/exult-1.2.ebuild | 5 | ||||
-rw-r--r-- | games-engines/exult/files/exult-1.2-gcc43.patch | 212 |
3 files changed, 220 insertions, 3 deletions
diff --git a/games-engines/exult/ChangeLog b/games-engines/exult/ChangeLog index d7a7f74dcd81..4c93bd967f38 100644 --- a/games-engines/exult/ChangeLog +++ b/games-engines/exult/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-engines/exult # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.19 2008/01/29 10:08:03 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.20 2008/05/01 10:15:43 nyhm Exp $ + + 01 May 2008; Tristan Heaven <nyhm@gentoo.org> + +files/exult-1.2-gcc43.patch, exult-1.2.ebuild: + Fix building with gcc-4.3 29 Jan 2008; Tristan Heaven <nyhm@gentoo.org> exult-1.2.ebuild: Don't specify compression type in doc elog, bug #169772 diff --git a/games-engines/exult/exult-1.2.ebuild b/games-engines/exult/exult-1.2.ebuild index 4ec632a316cd..3d8c37336e9b 100644 --- a/games-engines/exult/exult-1.2.ebuild +++ b/games-engines/exult/exult-1.2.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-engines/exult/exult-1.2.ebuild,v 1.12 2008/01/29 10:08:03 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.13 2008/05/01 10:15:43 nyhm Exp $ inherit eutils autotools games @@ -38,7 +38,8 @@ src_unpack() { epatch \ "${FILESDIR}"/${P}-gcc41.patch \ "${FILESDIR}"/${P}-64bits.patch \ - "${FILESDIR}"/${P}-x11link.patch + "${FILESDIR}"/${P}-x11link.patch \ + "${FILESDIR}"/${P}-gcc43.patch sed -i \ -e "s/u7siinstrics.data/u7siintrinsics.data/" \ usecode/ucxt/data/Makefile.am \ diff --git a/games-engines/exult/files/exult-1.2-gcc43.patch b/games-engines/exult/files/exult-1.2-gcc43.patch new file mode 100644 index 000000000000..7900b6c50575 --- /dev/null +++ b/games-engines/exult/files/exult-1.2-gcc43.patch @@ -0,0 +1,212 @@ +--- actions.cc ++++ actions.cc +@@ -22,6 +22,8 @@ + # include <config.h> + #endif + ++#include <cstdlib> ++#include <cstring> + #include "gamewin.h" + #include "actions.h" + #include "actors.h" +--- args.cc ++++ args.cc +@@ -24,6 +24,7 @@ + # include <iostream> + #endif + ++#include <cstdlib> + #include "args.h" + + #ifndef UNDER_CE +--- audio/xmidi.cc ++++ audio/xmidi.cc +@@ -31,6 +31,7 @@ + # include <cmath> + #endif + #include <unistd.h> ++#include <cstdlib> + #include "../files/utils.h" + #include "xmidi.h" + #include "../conf/Configuration.h" +--- conf/Configuration.cc ++++ conf/Configuration.cc +@@ -32,6 +32,7 @@ + #include <stdio.h> + #include <iostream> + #include <fstream> ++#include <cstdlib> + #ifdef HAVE_SSTREAM + #include <sstream> + #endif +--- files/Flex.h ++++ files/Flex.h +@@ -24,6 +24,7 @@ + #include <vector> + #include <string> + #include <iosfwd> ++#include <cstring> + #include "common_types.h" + #include "U7file.h" + +--- files/IFF.h ++++ files/IFF.h +@@ -21,6 +21,7 @@ + + #include <vector> + #include <string> ++#include <cstring> + #include "common_types.h" + #include "U7file.h" + +--- files/listfiles.cc ++++ files/listfiles.cc +@@ -29,6 +29,7 @@ + #include <vector> + #include <string> + #include <iostream> ++#include <cstring> + + #ifndef UNDER_CE + using std::vector; +--- files/msgfile.cc ++++ files/msgfile.cc +@@ -24,6 +24,7 @@ + + #include <iostream> + #include <vector> ++#include <cstdlib> + #include "utils.h" + + using std::istream; +--- files/Table.cc ++++ files/Table.cc +@@ -26,6 +26,7 @@ + # include <cstdio> + #endif + #include <iostream> ++#include <cstdlib> + #include "exceptions.h" + #include "utils.h" + +--- files/U7file.cc ++++ files/U7file.cc +@@ -24,6 +24,7 @@ + # include <cstdio> + #endif + #include <iostream> ++#include <cstdlib> + + #include "U7file.h" + #include "Flex.h" +--- hash_utils.h ++++ hash_utils.h +@@ -19,6 +19,7 @@ + #ifndef _HASH_UTILS_H_ + #define _HASH_UTILS_H_ + ++#include <cstring> + #include "exult_types.h" + + #ifdef DONT_HAVE_HASH_MAP +--- imagewin/ibuf8.cc ++++ imagewin/ibuf8.cc +@@ -29,6 +29,8 @@ + # include <iostream> + #endif + ++#include <cstdlib> ++#include <cstring> + #include "exult_types.h" + #include "utils.h" + +--- objs/chunkter.cc ++++ objs/chunkter.cc +@@ -25,6 +25,7 @@ + #ifdef HAVE_CONFIG_H + # include <config.h> + #endif ++#include <cstring> + #include "chunkter.h" + #include "gamewin.h" + #ifdef INCL_OPENGL +--- party.cc ++++ party.cc +@@ -26,6 +26,7 @@ + + #include <iostream> + #include <string> ++#include <cstring> + #include "party.h" + #include "actors.h" + #include "gamewin.h" +--- server/objserial.cc ++++ server/objserial.cc +@@ -30,6 +30,7 @@ + #include "objserial.h" + #include "servemsg.h" + #include <iostream> ++#include <cstring> + + using std::cout; + using std::endl; +--- server/server.cc ++++ server/server.cc +@@ -45,6 +45,7 @@ + #endif + + #include <cstdio> ++#include <cstdlib> + + #ifdef _AIX + #include <strings.h> +--- shapes/shapeinf.cc ++++ shapes/shapeinf.cc +@@ -32,6 +32,7 @@ + + #include "utils.h" + #include <iomanip> /* Debugging */ ++#include <cstring> + using std::cout; + using std::endl; + +--- shapes/shapewrite.cc ++++ shapes/shapewrite.cc +@@ -24,6 +24,7 @@ + # include <config.h> + #endif + ++#include <cstring> + #include "shapevga.h" + #include "shapeinf.h" + #include "monstinf.h" +--- usecode/ucmachine.cc ++++ usecode/ucmachine.cc +@@ -23,6 +23,7 @@ + # include <config.h> + #endif + ++#include <cstring> + #include "ucmachine.h" + #include "keyring.h" + #include "conversation.h" +--- usecode/useval.cc ++++ usecode/useval.cc +@@ -32,6 +32,7 @@ + #include <cstdio> + #endif + ++#include <cstdlib> + #include "useval.h" + #include "utils.h" + +--- usecode/useval.h ++++ usecode/useval.h +@@ -24,6 +24,7 @@ + + #include <cassert> + #include <iostream> ++#include <cstdlib> + + #include <vector> // STL container + #include <deque> // STL container |