Control: tags 957971 + pending
--

Dear maintainer,

I've prepared an NMU for xblast-tnt (versioned as 2.10.4-4.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru xblast-tnt-2.10.4/debian/changelog xblast-tnt-2.10.4/debian/changelog
--- xblast-tnt-2.10.4/debian/changelog  2016-01-13 11:25:27.000000000 +0000
+++ xblast-tnt-2.10.4/debian/changelog  2021-01-07 21:50:26.000000000 +0000
@@ -1,3 +1,11 @@
+xblast-tnt (2.10.4-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC-10. (Closes: #957971)
+    - Thanks to Luis Paulo Linares.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 07 Jan 2021 21:50:26 
+0000
+
 xblast-tnt (2.10.4-4) unstable; urgency=medium
 
   * Update my name/email address.
diff -Nru xblast-tnt-2.10.4/debian/patches/020_fix-ftbfs-with-gcc-10.patch 
xblast-tnt-2.10.4/debian/patches/020_fix-ftbfs-with-gcc-10.patch
--- xblast-tnt-2.10.4/debian/patches/020_fix-ftbfs-with-gcc-10.patch    
1970-01-01 01:00:00.000000000 +0100
+++ xblast-tnt-2.10.4/debian/patches/020_fix-ftbfs-with-gcc-10.patch    
2021-01-07 20:21:02.000000000 +0000
@@ -0,0 +1,26 @@
+Description: Fix FTBFS with GCC-10.
+Author: Luis Paulo Linares <lpfllina...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957971
+
+--- xblast-tnt-2.10.4.orig/cfg_control.h
++++ xblast-tnt-2.10.4/cfg_control.h
+@@ -29,7 +29,7 @@
+ #define NUM_KEYB_CONTROLS  2
+ 
+ /* constant assignment of control to event type */
+-const XBEventCode keyEventType[NUM_KEYB_CONTROLS];
++extern const XBEventCode keyEventType[NUM_KEYB_CONTROLS];
+ 
+ /* ingame controls for editing*/
+ typedef struct
+--- xblast-tnt-2.10.4.orig/network.h
++++ xblast-tnt-2.10.4/network.h
+@@ -105,7 +105,7 @@ typedef enum
+ #define TEAM_UNDEF 252
+ 
+ /* team color assignment */
+-const XBColor teamColors[NUM_XBTS];
++extern const XBColor teamColors[NUM_XBTS];
+ 
+ /* results of game config receive/create */
+ typedef enum
diff -Nru xblast-tnt-2.10.4/debian/patches/series 
xblast-tnt-2.10.4/debian/patches/series
--- xblast-tnt-2.10.4/debian/patches/series     2016-01-13 08:40:36.000000000 
+0000
+++ xblast-tnt-2.10.4/debian/patches/series     2021-01-07 20:21:02.000000000 
+0000
@@ -1 +1,2 @@
 fix-manpage
+020_fix-ftbfs-with-gcc-10.patch

Reply via email to