summaryrefslogtreecommitdiff
path: root/games/brutalchess/brutalchess-0.5.2-gcc4.7.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-03 07:09:25 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:27 -0500
commitce25f255fd84ef4836f17c69b80f094172a42385 (patch)
tree547ce5a1eb6a2be71020036b02f332e8f18fc698 /games/brutalchess/brutalchess-0.5.2-gcc4.7.patch
parent8123c49e38cb0d24a3540e2d23bf9745393fe0cc (diff)
downloadslackbuilds-ce25f255fd84ef4836f17c69b80f094172a42385.tar.gz
games/brutalchess: Included a patch for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/brutalchess/brutalchess-0.5.2-gcc4.7.patch')
-rw-r--r--games/brutalchess/brutalchess-0.5.2-gcc4.7.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/brutalchess/brutalchess-0.5.2-gcc4.7.patch b/games/brutalchess/brutalchess-0.5.2-gcc4.7.patch
new file mode 100644
index 0000000000..8eb5283cfa
--- /dev/null
+++ b/games/brutalchess/brutalchess-0.5.2-gcc4.7.patch
@@ -0,0 +1,22 @@
+diff -Naur brutalchess-0.5.2.orig/src/faileplayer.cpp brutalchess-0.5.2/src/faileplayer.cpp
+--- brutalchess-0.5.2.orig/src/faileplayer.cpp 2006-12-20 21:19:50.000000000 +0100
++++ brutalchess-0.5.2/src/faileplayer.cpp 2012-04-02 21:46:40.702000025 +0200
+@@ -14,6 +14,7 @@
+ #include <cassert>
+ #include <sstream>
+ #include <string>
++#include <unistd.h>
+
+ using namespace std;
+
+diff -Naur brutalchess-0.5.2.orig/src/xboardplayer.cpp brutalchess-0.5.2/src/xboardplayer.cpp
+--- brutalchess-0.5.2.orig/src/xboardplayer.cpp 2006-12-19 05:00:01.000000000 +0100
++++ brutalchess-0.5.2/src/xboardplayer.cpp 2012-04-02 21:50:09.775000025 +0200
+@@ -14,6 +14,7 @@
+ #include <cassert>
+ #include <sstream>
+ #include <string>
++#include <unistd.h>
+
+ using namespace std;
+