Permalink
Browse files

Fix build with modern GCC

  • Loading branch information...
1 parent 5757ae0 commit 61096ca8a0812d00ecc1a920aefcf907b0966708 joerg committed Nov 24, 2011
@@ -1,8 +1,14 @@
-$NetBSD: distinfo,v 1.9 2011/06/20 09:30:03 wiz Exp $
+$NetBSD: distinfo,v 1.10 2011/11/24 14:09:47 joerg Exp $
SHA1 (CriticalMass-1.0.2.tar.bz2) = d2d1f35183e9fbed76fd8da2a948745a4c89f20b
RMD160 (CriticalMass-1.0.2.tar.bz2) = 6c0b6988f6a52c4b19fbca2525b1daec0202693d
Size (CriticalMass-1.0.2.tar.bz2) = 5122126 bytes
SHA1 (patch-aa) = a5caa2facea22cd5e7d208540626ed2163d81f18
SHA1 (patch-game_main.cpp) = 9dbf9b3de9de4ce97b0ed99ab4f4c983159124c0
+SHA1 (patch-tinyxml_tinyxml.cpp) = e25526fff0121795c1a54089b87ede52eb86f124
+SHA1 (patch-tinyxml_tinyxmlparser.cpp) = 236ff1cbd6fe83045df28022a6b02f9f65da4ee8
+SHA1 (patch-utils_ResourceManager.cpp) = a491869a5b6a99e281bb5de88c7c86ad5996fa00
+SHA1 (patch-utils_Value.hpp) = e5b6700167a6fc3dd1275cda4b17cab85d68d22d
+SHA1 (patch-utils_zStream.cpp) = b94b48862bbcfbdfbe84d7d1e6bf8133921d80aa
+SHA1 (patch-utils_zStreamBufferImplZLib.cpp) = ad7a4bc3d6a36274d2a71e0d6201b20461274b89
SHA1 (patch-utilssdl_PNG.cpp) = bf46226338a75c50c25f273f8b6cd956eb7d656c
@@ -0,0 +1,13 @@
+$NetBSD: patch-tinyxml_tinyxml.cpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- tinyxml/tinyxml.cpp.orig 2011-11-24 00:44:05.000000000 +0000
++++ tinyxml/tinyxml.cpp
+@@ -22,6 +22,8 @@ distribution.
+ */
+
+ #include "tinyxml.h"
++#include <stdlib.h>
++#include <string.h>
+
+
+ TiXmlNode::TiXmlNode( NodeType _type )
@@ -0,0 +1,12 @@
+$NetBSD: patch-tinyxml_tinyxmlparser.cpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- tinyxml/tinyxmlparser.cpp.orig 2011-11-24 00:44:44.000000000 +0000
++++ tinyxml/tinyxmlparser.cpp
+@@ -24,6 +24,7 @@ distribution.
+
+ #include "tinyxml.h"
+ #include <ctype.h>
++#include <string.h>
+
+ const char* TiXmlBase::SkipWhiteSpace( const char* p )
+ {
@@ -0,0 +1,12 @@
+$NetBSD: patch-utils_ResourceManager.cpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- utils/ResourceManager.cpp.orig 2011-11-24 00:45:09.000000000 +0000
++++ utils/ResourceManager.cpp
+@@ -15,6 +15,7 @@
+ #include <iomanip>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <string.h>
+
+ #include <Trace.hpp>
+ #include <ResourceManager.hpp>
@@ -0,0 +1,14 @@
+$NetBSD: patch-utils_Value.hpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- utils/Value.hpp.orig 2011-11-24 00:45:29.000000000 +0000
++++ utils/Value.hpp
+@@ -15,7 +15,9 @@
+ #ifndef _Value_hpp_
+ #define _Value_hpp_
+
++#include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <string>
+
+ #include <Trace.hpp>
@@ -0,0 +1,12 @@
+$NetBSD: patch-utils_zStream.cpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- utils/zStream.cpp.orig 2011-11-24 00:46:06.000000000 +0000
++++ utils/zStream.cpp
+@@ -12,6 +12,7 @@
+ // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
+ //
++#include <stdlib.h>
+ #include <Trace.hpp>
+ #include <Endian.hpp>
+ #include <zStream.hpp>
@@ -0,0 +1,12 @@
+$NetBSD: patch-utils_zStreamBufferImplZLib.cpp,v 1.1 2011/11/24 14:09:47 joerg Exp $
+
+--- utils/zStreamBufferImplZLib.cpp.orig 2011-11-24 00:46:30.000000000 +0000
++++ utils/zStreamBufferImplZLib.cpp
+@@ -14,6 +14,7 @@
+ //
+ #include <Trace.hpp>
+ #include <zStreamBufferImplZLib.hpp>
++#include <stdlib.h>
+
+ bool ziStreamBufferImplZLib::init( void)
+ {
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.4 2006/08/14 22:34:42 wiz Exp $
+$NetBSD: distinfo,v 1.5 2011/11/24 14:08:47 joerg Exp $
SHA1 (fillets-ng-0.7.3.tar.gz) = 58937e59c3108e0ed4d2a5e542f3d9b813655287
RMD160 (fillets-ng-0.7.3.tar.gz) = 6c8f41feab9df2b6dee3942c18848d61ab2f2c7d
Size (fillets-ng-0.7.3.tar.gz) = 311799 bytes
SHA1 (patch-aa) = 355c8fd1a47335f41114786d65256293a9ca4968
+SHA1 (patch-src_gengine_OptionAgent.cpp) = 9e49a989877e5f55f40f2a25d1dd9801ca65fbfe
+SHA1 (patch-src_gengine_StringTool.cpp) = 6813f4a61fb13226d2aeb35ded376de7c19c36b8
+SHA1 (patch-src_level_Landslip.cpp) = 8629bdde28947598cb09c12b30147f545d3ee525
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_gengine_OptionAgent.cpp,v 1.1 2011/11/24 14:08:48 joerg Exp $
+
+--- src/gengine/OptionAgent.cpp.orig 2011-11-24 00:51:01.000000000 +0000
++++ src/gengine/OptionAgent.cpp
+@@ -23,6 +23,7 @@
+ #include "UnknownMsgException.h"
+ #include "minmax.h"
+
++#include <stdlib.h>
+ #include <string.h> //strlen
+ #include <locale.h> //setlocale
+
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_gengine_StringTool.cpp,v 1.1 2011/11/24 14:08:48 joerg Exp $
+
+--- src/gengine/StringTool.cpp.orig 2011-11-24 00:51:28.000000000 +0000
++++ src/gengine/StringTool.cpp
+@@ -8,6 +8,7 @@
+ */
+ #include "StringTool.h"
+
++#include <stdlib.h>
+ #include <sstream>
+
+ //-----------------------------------------------------------------
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_level_Landslip.cpp,v 1.1 2011/11/24 14:08:48 joerg Exp $
+
+--- src/level/Landslip.cpp.orig 2011-11-24 00:52:41.000000000 +0000
++++ src/level/Landslip.cpp
+@@ -11,6 +11,8 @@
+ #include "Rules.h"
+ #include "minmax.h"
+
++#include <string.h>
++
+ //-----------------------------------------------------------------
+ Landslip::Landslip(const ModelList &models)
+ : m_models(models)

0 comments on commit 61096ca

Please sign in to comment.