Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (00db383d130a89a7838ff711c1e6ce8c1cea427a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (00db383d130a89a7838ff711c1e6ce8c1cea427a)
  • Date: Sat, 12 Jan 2013 21:01:34 -0600

GIT changes to master games grimoire by Pol Vinogradov <vin.public AT gmail.com>:

games-board/brutalchess/HISTORY | 4 ++
games-board/brutalchess/PRE_BUILD | 3 +-
games-board/brutalchess/brutalchess-gcc-4.7.patch | 33
++++++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)

New commits:
commit 00db383d130a89a7838ff711c1e6ce8c1cea427a
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

games-board/brutalchess: added gcc 4.7 patch

diff --git a/games-board/brutalchess/HISTORY b/games-board/brutalchess/HISTORY
index 1b8184d..187b675 100644
--- a/games-board/brutalchess/HISTORY
+++ b/games-board/brutalchess/HISTORY
@@ -1,3 +1,7 @@
+2013-01-12 Pol Vinogradov <vin.public AT gmail.com>
+ * PRE_BUILD, brutalchess-gcc-4.7.patch: added patch from
+ Debian to build with gcc 4.7
+
2010-10-03 Vlad Glagolev <stealth AT sourcemage.org>
* PRE_BUILD: added, to apply the patch
* types.patch: added, to fix compilation
diff --git a/games-board/brutalchess/PRE_BUILD
b/games-board/brutalchess/PRE_BUILD
index 67bee2e..868e97c 100755
--- a/games-board/brutalchess/PRE_BUILD
+++ b/games-board/brutalchess/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

-patch -p0 < "$SPELL_DIRECTORY/types.patch"
+patch -p0 < "$SPELL_DIRECTORY/types.patch" &&
+patch -p1 < "$SPELL_DIRECTORY/brutalchess-gcc-4.7.patch"
\ No newline at end of file
diff --git a/games-board/brutalchess/brutalchess-gcc-4.7.patch
b/games-board/brutalchess/brutalchess-gcc-4.7.patch
new file mode 100644
index 0000000..5914816
--- /dev/null
+++ b/games-board/brutalchess/brutalchess-gcc-4.7.patch
@@ -0,0 +1,33 @@
+Description: Fix ftbfs with gcc-4.7
+ Include <unistd.h> for functions like write(), fork(), etc
+Author: Vincent Legout
+Bug-Debian: http://bugs.debian.org/667121
+Forwarded: no
+Last-Update: 2012-04-04
+
+Index: brutalchess-0.5.2+dfsg/src/faileplayer.cpp
+===================================================================
+--- brutalchess-0.5.2+dfsg.orig/src/faileplayer.cpp 2006-12-20
21:19:50.000000000 +0100
++++ brutalchess-0.5.2+dfsg/src/faileplayer.cpp 2012-04-04
21:02:32.000000000 +0200
+@@ -15,6 +15,8 @@
+ #include <sstream>
+ #include <string>
+
++#include <unistd.h>
++
+ using namespace std;
+
+ FailePlayer::FailePlayer()
+Index: brutalchess-0.5.2+dfsg/src/xboardplayer.cpp
+===================================================================
+--- brutalchess-0.5.2+dfsg.orig/src/xboardplayer.cpp 2006-12-19
05:00:01.000000000 +0100
++++ brutalchess-0.5.2+dfsg/src/xboardplayer.cpp 2012-04-04
21:03:30.063044751 +0200
+@@ -15,6 +15,8 @@
+ #include <sstream>
+ #include <string>
+
++#include <unistd.h>
++
+ using namespace std;
+
+
\ No newline at end of file



  • [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (00db383d130a89a7838ff711c1e6ce8c1cea427a), Pol Vinogradov, 01/12/2013

Archive powered by MHonArc 2.6.24.

Top of Page