aboutsummaryrefslogtreecommitdiff
path: root/games/connectfive
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-13 18:34:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-13 18:34:10 +0000
commit6b36b9b01cab021e359c70aeba25e884a2d20d17 (patch)
tree1f92302654f9e147902d1d9fc038b6f2fc88368a /games/connectfive
parenta16f63d9a317d296eee3ccebb4d1b822fe7b8602 (diff)
downloadports-6b36b9b01cab021e359c70aeba25e884a2d20d17.tar.gz
ports-6b36b9b01cab021e359c70aeba25e884a2d20d17.zip
Fix build with clang/libc++
Notes
Notes: svn path=/head/; revision=327174
Diffstat (limited to 'games/connectfive')
-rw-r--r--games/connectfive/files/patch-AdjacentPosition.cpp10
-rw-r--r--games/connectfive/files/patch-SimpleHeuristic.cpp7
2 files changed, 14 insertions, 3 deletions
diff --git a/games/connectfive/files/patch-AdjacentPosition.cpp b/games/connectfive/files/patch-AdjacentPosition.cpp
new file mode 100644
index 000000000000..9ff3d82a56be
--- /dev/null
+++ b/games/connectfive/files/patch-AdjacentPosition.cpp
@@ -0,0 +1,10 @@
+--- AdjacentPosition.cpp.orig 2004-01-04 09:19:04.000000000 +0300
++++ AdjacentPosition.cpp 2013-09-13 20:22:10.991226348 +0400
+@@ -32,6 +32,7 @@
+
+ // Header Files #############################################################
+ #include <stdio.h>
++#include <stdlib.h> // for exit()
+
+ #include "AdjacentPosition.h"
+
diff --git a/games/connectfive/files/patch-SimpleHeuristic.cpp b/games/connectfive/files/patch-SimpleHeuristic.cpp
index 175b08c0840b..7b40a50f5117 100644
--- a/games/connectfive/files/patch-SimpleHeuristic.cpp
+++ b/games/connectfive/files/patch-SimpleHeuristic.cpp
@@ -1,10 +1,11 @@
---- SimpleHeuristic.cpp.orig Thu Jan 1 03:21:53 2004
-+++ SimpleHeuristic.cpp Wed Sep 21 09:30:36 2005
-@@ -31,6 +31,7 @@
+--- SimpleHeuristic.cpp.orig 2004-01-01 05:21:53.000000000 +0300
++++ SimpleHeuristic.cpp 2013-09-13 20:21:14.435230147 +0400
+@@ -31,6 +31,8 @@
// Header Files #############################################################
+#include <stdio.h>
++#include <stdlib.h> // for exit()
#include "SimpleHeuristic.h"
// Macros ###################################################################