diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 02:34:10 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 02:34:10 +0800 |
commit | c79a607c7b437309b702fa26790e4cb479d235db (patch) | |
tree | 1f92302654f9e147902d1d9fc038b6f2fc88368a /games/connectfive | |
parent | 0ba3b3b9641898b223364ff88260f66731cfe641 (diff) | |
download | freebsd-ports-gnome-c79a607c7b437309b702fa26790e4cb479d235db.tar.gz freebsd-ports-gnome-c79a607c7b437309b702fa26790e4cb479d235db.tar.zst freebsd-ports-gnome-c79a607c7b437309b702fa26790e4cb479d235db.zip |
Fix build with clang/libc++
Diffstat (limited to 'games/connectfive')
-rw-r--r-- | games/connectfive/files/patch-AdjacentPosition.cpp | 10 | ||||
-rw-r--r-- | games/connectfive/files/patch-SimpleHeuristic.cpp | 7 |
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 ################################################################### |