Control: tags 957317 + patch
Control: tags 957317 + pending
--

Dear maintainer,

I've prepared an NMU for gtkboard (versioned as 0.11pre0+cvs.2003.11.02-10.1) 
and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru gtkboard-0.11pre0+cvs.2003.11.02/debian/changelog 
gtkboard-0.11pre0+cvs.2003.11.02/debian/changelog
--- gtkboard-0.11pre0+cvs.2003.11.02/debian/changelog   2020-01-09 
21:32:54.000000000 +0000
+++ gtkboard-0.11pre0+cvs.2003.11.02/debian/changelog   2021-01-22 
21:22:42.000000000 +0000
@@ -1,3 +1,10 @@
+gtkboard (0.11pre0+cvs.2003.11.02-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957317)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Fri, 22 Jan 2021 21:22:42 
+0000
+
 gtkboard (0.11pre0+cvs.2003.11.02-10) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/fix-gcc_10.patch 
gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/fix-gcc_10.patch
--- gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/fix-gcc_10.patch    
1970-01-01 01:00:00.000000000 +0100
+++ gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/fix-gcc_10.patch    
2021-01-22 21:22:17.000000000 +0000
@@ -0,0 +1,22 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957317
+Forwarded: no
+
+---
+
+--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/engine.c
++++ gtkboard-0.11pre0+cvs.2003.11.02/src/engine.c
+@@ -47,9 +47,9 @@ byte * engine_search (Pos *);
+ static FILE *engine_fin, *engine_fout;
+ 
+ //! Eval fn for white (can be NULL, in which case game_eval will be used for 
both)
+-ResultType (*game_eval_white) (Pos *, Player, float *);
++extern ResultType (*game_eval_white) (Pos *, Player, float *);
+ //! Eval fn for black (can be NULL, in which case game_eval will be used for 
both)
+-ResultType (*game_eval_black) (Pos *, Player, float *);
++extern ResultType (*game_eval_black) (Pos *, Player, float *);
+ 
+ // FIXME: following 3 extern decls must be removed by refactoring (i.e, move 
all fns common to client and server to a new file)
+ extern void reset_game_params ();
diff -Nru gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/series 
gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/series
--- gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/series      2020-01-09 
21:32:54.000000000 +0000
+++ gtkboard-0.11pre0+cvs.2003.11.02/debian/patches/series      2021-01-22 
21:16:46.000000000 +0000
@@ -1,2 +1,3 @@
 fixed-stack-smash.patch
 debian-changes
+fix-gcc_10.patch

Reply via email to