diff options
Diffstat (limited to 'games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch')
-rw-r--r-- | games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch | 99 |
1 files changed, 22 insertions, 77 deletions
diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch index e57c11f5af28..82207f52aec0 100644 --- a/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch @@ -1,101 +1,46 @@ ---- CriticalMass-1.0.0.orig/tinyxml/tinyxml.cpp 2003-03-03 03:34:58.000000000 +0100 -+++ CriticalMass-1.0.0/tinyxml/tinyxml.cpp 2008-04-18 19:40:35.000000000 +0200 -@@ -21,10 +21,12 @@ - distribution.
- */
-
- #include "tinyxml.h"
+https://bugs.gentoo.org/218299 +--- a/tinyxml/tinyxml.cpp ++++ b/tinyxml/tinyxml.cpp +@@ -25,2 +25,4 @@ +#include <cstring> + - TiXmlNode::TiXmlNode( NodeType _type )
- {
- parent = 0;
- type = _type;
---- CriticalMass-1.0.0.orig/tinyxml/tinyxml.h 2003-03-03 03:34:58.000000000 +0100 -+++ CriticalMass-1.0.0/tinyxml/tinyxml.h 2008-04-18 19:40:35.000000000 +0200 -@@ -28,10 +28,11 @@ - #ifdef _MSC_VER
- #pragma warning( disable : 4530 )
- #pragma warning( disable : 4786 )
- #endif
+--- a/tinyxml/tinyxml.h ++++ b/tinyxml/tinyxml.h +@@ -32,2 +32,3 @@ +#include <cstdlib> #include <string>
- #include <stdio.h>
- #include <assert.h>
-
- class TiXmlDocument;
---- CriticalMass-1.0.0.orig/tinyxml/tinyxmlparser.cpp 2003-03-03 03:34:58.000000000 +0100 -+++ CriticalMass-1.0.0/tinyxml/tinyxmlparser.cpp 2008-04-18 19:40:35.000000000 +0200 -@@ -23,10 +23,12 @@ -
-
- #include "tinyxml.h"
- #include <ctype.h>
+--- a/tinyxml/tinyxmlparser.cpp ++++ b/tinyxml/tinyxmlparser.cpp +@@ -27,2 +27,4 @@ +#include <cstring> + const char* TiXmlBase::SkipWhiteSpace( const char* p )
- {
- while ( p && *p &&
- ( isspace( *p ) || *p == '\n' || *p == '\r' ) )
- p++;
---- CriticalMass-1.0.0.orig/utils/ResourceManager.cpp 2005-01-02 03:59:29.000000000 +0100 -+++ CriticalMass-1.0.0/utils/ResourceManager.cpp 2008-04-18 19:40:35.000000000 +0200 -@@ -20,10 +20,12 @@ - #include <ResourceManager.hpp> - #include <FindHash.hpp> - #include <Endian.hpp> - #include <WalkDirectory.hpp> +--- a/utils/ResourceManager.cpp ++++ b/utils/ResourceManager.cpp +@@ -24,2 +24,4 @@ +#include <cstring> + #ifdef WIN32 - const char PATH_SEPERATOR = '\\'; - #else - const char PATH_SEPERATOR = '/'; - #endif ---- CriticalMass-1.0.0.orig/utils/Value.hpp 2004-12-18 03:41:24.000000000 +0100 -+++ CriticalMass-1.0.0/utils/Value.hpp 2008-04-18 19:40:35.000000000 +0200 -@@ -13,10 +13,11 @@ - // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details - // - #ifndef _Value_hpp_ - #define _Value_hpp_ +--- a/utils/Value.hpp ++++ b/utils/Value.hpp +@@ -17,2 +17,3 @@ +#include <cstdlib> #include <stdio.h> - #include <string> - - #include <Trace.hpp> - ---- CriticalMass-1.0.0.orig/utils/zStreamBufferImplZLib.cpp 2005-07-31 22:06:14.000000000 +0200 -+++ CriticalMass-1.0.0/utils/zStreamBufferImplZLib.cpp 2008-04-18 19:40:35.000000000 +0200 -@@ -10,10 +10,11 @@ - // - // This program is distributed in the hope that it will be useful, but WITHOUT - // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +--- a/utils/zStream.cpp ++++ b/utils/zStream.cpp +@@ -14,2 +14,3 @@ // +#include <cstdlib> #include <Trace.hpp> - #include <zStreamBufferImplZLib.hpp> - - bool ziStreamBufferImplZLib::init( void) - { ---- CriticalMass-1.0.0.orig/utils/zStream.cpp 2005-07-31 22:06:14.000000000 +0200 -+++ CriticalMass-1.0.0/utils/zStream.cpp 2008-04-18 19:40:35.000000000 +0200 -@@ -10,10 +10,11 @@ - // - // This program is distributed in the hope that it will be useful, but WITHOUT - // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +--- a/utils/zStreamBufferImplZLib.cpp ++++ b/utils/zStreamBufferImplZLib.cpp +@@ -14,2 +14,3 @@ // +#include <cstdlib> #include <Trace.hpp> - #include <Endian.hpp> - #include <zStream.hpp> - #include <zStreamBufferImplLZMA.hpp> - #include <zStreamBufferImplZLib.hpp> |