summaryrefslogtreecommitdiff
path: root/games/fillets-ng
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 14:08:47 +0000
committerjoerg <joerg>2011-11-24 14:08:47 +0000
commita1ae31d7c4f598fa2249ecae1af73415257ea921 (patch)
tree3f7f54c188fe968f94e0d24144656414712ebb6f /games/fillets-ng
parentabdb2abe548ce3c2b135a2488acdaa9f4d034d50 (diff)
downloadpkgsrc-a1ae31d7c4f598fa2249ecae1af73415257ea921.tar.gz
Fix build with modern GCC
Diffstat (limited to 'games/fillets-ng')
-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
4 files changed, 41 insertions, 1 deletions
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)