Control: tags 957872 + pending

Dear maintainer,

I've prepared an NMU for tetrinet (versioned as 0.11+CVS20070911-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru tetrinet-0.11+CVS20070911/debian/changelog 
tetrinet-0.11+CVS20070911/debian/changelog
--- tetrinet-0.11+CVS20070911/debian/changelog  2016-01-06 22:46:33.000000000 
+0000
+++ tetrinet-0.11+CVS20070911/debian/changelog  2020-08-20 21:21:38.000000000 
+0100
@@ -1,3 +1,11 @@
+tetrinet (0.11+CVS20070911-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957872)
+    - Thanks to Reiner Herrmann.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 20 Aug 2020 21:21:38 
+0100
+
 tetrinet (0.11+CVS20070911-2) unstable; urgency=medium
 
   * Switch to source format 3.0 (quilt).
diff -Nru tetrinet-0.11+CVS20070911/debian/patches/gcc10.patch 
tetrinet-0.11+CVS20070911/debian/patches/gcc10.patch
--- tetrinet-0.11+CVS20070911/debian/patches/gcc10.patch        1970-01-01 
01:00:00.000000000 +0100
+++ tetrinet-0.11+CVS20070911/debian/patches/gcc10.patch        2020-08-20 
21:19:08.000000000 +0100
@@ -0,0 +1,25 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Fix FTBFS with GCC 10
+Bug-Debian: https://bugs.debian.org/957872
+
+--- a/tetris.c
++++ b/tetris.c
+@@ -32,6 +32,7 @@
+ signed char specials[MAX_SPECIALS] = {-1}; /* Special block inventory */
+ int next_piece;               /* Next piece to fall */
+ 
++PieceData piecedata[7][4];
+ static struct timeval timeout;        /* Time of next action */
+ int current_piece;    /* Current piece number */
+ int current_rotation; /* Current rotation value */
+--- a/tetris.h
++++ b/tetris.h
+@@ -50,7 +50,7 @@
+     char shape[4][4]; /* Shape data for the piece */
+ } PieceData;
+ 
+-PieceData piecedata[7][4];
++extern PieceData piecedata[7][4];
+ 
+ extern int current_piece, current_rotation;
+ 
diff -Nru tetrinet-0.11+CVS20070911/debian/patches/series 
tetrinet-0.11+CVS20070911/debian/patches/series
--- tetrinet-0.11+CVS20070911/debian/patches/series     1970-01-01 
01:00:00.000000000 +0100
+++ tetrinet-0.11+CVS20070911/debian/patches/series     2020-08-20 
21:19:08.000000000 +0100
@@ -0,0 +1 @@
+gcc10.patch

Reply via email to