r13458 - in packages/trunk/brutalchess/debian: . patches

Vincent Legout vlegout at alioth.debian.org
Wed Apr 4 19:20:21 UTC 2012


Author: vlegout
Date: 2012-04-04 19:20:20 +0000 (Wed, 04 Apr 2012)
New Revision: 13458

Added:
   packages/trunk/brutalchess/debian/patches/06_gcc-4.7.patch
Modified:
   packages/trunk/brutalchess/debian/changelog
   packages/trunk/brutalchess/debian/patches/series
Log:
Fix ftbfs with gcc-4.7 (Closes: #667121)

Modified: packages/trunk/brutalchess/debian/changelog
===================================================================
--- packages/trunk/brutalchess/debian/changelog	2012-04-02 18:27:38 UTC (rev 13457)
+++ packages/trunk/brutalchess/debian/changelog	2012-04-04 19:20:20 UTC (rev 13458)
@@ -1,9 +1,13 @@
-brutalchess (0.5.2+dfsg-3.1) UNRELEASED; urgency=low
+brutalchess (0.5.2+dfsg-4) UNRELEASED; urgency=low
 
-  * Non-maintainer upload.
-  * NOT RELEASED YET
+  * Team upload.
+
+  [Ian Lane]
   * debian/watch: Mangle version correctly
 
+  [Vincent Legout]
+  * Fix ftbfs with gcc-4.7, add patches/06_gcc-4.7.patch (Closes: #667121)
+
  -- Iain Lane <laney at ubuntu.com>  Wed, 24 Dec 2008 11:49:16 +0000
 
 brutalchess (0.5.2+dfsg-3) unstable; urgency=low

Added: packages/trunk/brutalchess/debian/patches/06_gcc-4.7.patch
===================================================================
--- packages/trunk/brutalchess/debian/patches/06_gcc-4.7.patch	                        (rev 0)
+++ packages/trunk/brutalchess/debian/patches/06_gcc-4.7.patch	2012-04-04 19:20:20 UTC (rev 13458)
@@ -0,0 +1,33 @@
+Description: Fix ftbfs with gcc-4.7
+ Include <unistd.h> for functions like write(), fork(), etc
+Author: Vincent Legout <vlegout at debian.org>
+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;
+ 
+ 

Modified: packages/trunk/brutalchess/debian/patches/series
===================================================================
--- packages/trunk/brutalchess/debian/patches/series	2012-04-02 18:27:38 UTC (rev 13457)
+++ packages/trunk/brutalchess/debian/patches/series	2012-04-04 19:20:20 UTC (rev 13458)
@@ -3,4 +3,4 @@
 03_ftbs_gcc4.2_409486.diff
 04_ftbs_gcc4.3_413483.diff
 05_use_our_fonts.diff
-
+06_gcc-4.7.patch




More information about the Pkg-games-commits mailing list