summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 14:08:47 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 14:08:47 +0000
commit3183e1cc9db43f593df5e41e88c1f0e5d4951ff0 (patch)
tree3f7f54c188fe968f94e0d24144656414712ebb6f
parenta4dc9d215e8c5cc3a79231475a78419febec3c09 (diff)
downloadpkgsrc-3183e1cc9db43f593df5e41e88c1f0e5d4951ff0.tar.gz
Fix build with modern GCC
-rw-r--r--games/criticalmass/distinfo8
-rw-r--r--games/criticalmass/patches/patch-tinyxml_tinyxml.cpp13
-rw-r--r--games/criticalmass/patches/patch-tinyxml_tinyxmlparser.cpp12
-rw-r--r--games/criticalmass/patches/patch-utils_ResourceManager.cpp12
-rw-r--r--games/criticalmass/patches/patch-utils_Value.hpp14
-rw-r--r--games/criticalmass/patches/patch-utils_zStream.cpp12
-rw-r--r--games/criticalmass/patches/patch-utils_zStreamBufferImplZLib.cpp12
-rw-r--r--games/fillets-ng/distinfo5
-rw-r--r--games/fillets-ng/patches/patch-src_gengine_OptionAgent.cpp12
-rw-r--r--games/fillets-ng/patches/patch-src_gengine_StringTool.cpp12
-rw-r--r--games/fillets-ng/patches/patch-src_level_Landslip.cpp13
11 files changed, 123 insertions, 2 deletions
diff --git a/games/criticalmass/distinfo b/games/criticalmass/distinfo
index 7dd9146f65d..3def2019601 100644
--- a/games/criticalmass/distinfo
+++ b/games/criticalmass/distinfo
@@ -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
diff --git a/games/criticalmass/patches/patch-tinyxml_tinyxml.cpp b/games/criticalmass/patches/patch-tinyxml_tinyxml.cpp
new file mode 100644
index 00000000000..a10762ad75a
--- /dev/null
+++ b/games/criticalmass/patches/patch-tinyxml_tinyxml.cpp
@@ -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 )
diff --git a/games/criticalmass/patches/patch-tinyxml_tinyxmlparser.cpp b/games/criticalmass/patches/patch-tinyxml_tinyxmlparser.cpp
new file mode 100644
index 00000000000..ff906456bcb
--- /dev/null
+++ b/games/criticalmass/patches/patch-tinyxml_tinyxmlparser.cpp
@@ -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 )
+ {
diff --git a/games/criticalmass/patches/patch-utils_ResourceManager.cpp b/games/criticalmass/patches/patch-utils_ResourceManager.cpp
new file mode 100644
index 00000000000..88504569c60
--- /dev/null
+++ b/games/criticalmass/patches/patch-utils_ResourceManager.cpp
@@ -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>
diff --git a/games/criticalmass/patches/patch-utils_Value.hpp b/games/criticalmass/patches/patch-utils_Value.hpp
new file mode 100644
index 00000000000..08507621b48
--- /dev/null
+++ b/games/criticalmass/patches/patch-utils_Value.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>
diff --git a/games/criticalmass/patches/patch-utils_zStream.cpp b/games/criticalmass/patches/patch-utils_zStream.cpp
new file mode 100644
index 00000000000..83b416a594d
--- /dev/null
+++ b/games/criticalmass/patches/patch-utils_zStream.cpp
@@ -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>
diff --git a/games/criticalmass/patches/patch-utils_zStreamBufferImplZLib.cpp b/games/criticalmass/patches/patch-utils_zStreamBufferImplZLib.cpp
new file mode 100644
index 00000000000..56f45b7baa7
--- /dev/null
+++ b/games/criticalmass/patches/patch-utils_zStreamBufferImplZLib.cpp
@@ -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)
+ {
diff --git a/games/fillets-ng/distinfo b/games/fillets-ng/distinfo
index 733d9089284..a30936cc4ba 100644
--- a/games/fillets-ng/distinfo
+++ b/games/fillets-ng/distinfo
@@ -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
diff --git a/games/fillets-ng/patches/patch-src_gengine_OptionAgent.cpp b/games/fillets-ng/patches/patch-src_gengine_OptionAgent.cpp
new file mode 100644
index 00000000000..00dda5ccdcd
--- /dev/null
+++ b/games/fillets-ng/patches/patch-src_gengine_OptionAgent.cpp
@@ -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
+
diff --git a/games/fillets-ng/patches/patch-src_gengine_StringTool.cpp b/games/fillets-ng/patches/patch-src_gengine_StringTool.cpp
new file mode 100644
index 00000000000..ad4b83180c9
--- /dev/null
+++ b/games/fillets-ng/patches/patch-src_gengine_StringTool.cpp
@@ -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>
+
+ //-----------------------------------------------------------------
diff --git a/games/fillets-ng/patches/patch-src_level_Landslip.cpp b/games/fillets-ng/patches/patch-src_level_Landslip.cpp
new file mode 100644
index 00000000000..c6ffba79f62
--- /dev/null
+++ b/games/fillets-ng/patches/patch-src_level_Landslip.cpp
@@ -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)