Control: tags 957068 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru cavezofphear-0.5.1/debian/changelog 
cavezofphear-0.5.1/debian/changelog
--- cavezofphear-0.5.1/debian/changelog 2012-01-19 11:39:31.000000000 +0000
+++ cavezofphear-0.5.1/debian/changelog 2021-01-07 19:03:02.000000000 +0000
@@ -1,3 +1,11 @@
+cavezofphear (0.5.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 10. (Closes: #957068)
+    - Thanks to Reiner Herrmann.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 07 Jan 2021 19:03:02 
+0000
+
 cavezofphear (0.5.1-1) unstable; urgency=low
 
   * Initial release (Closes: #650690)
diff -Nru cavezofphear-0.5.1/debian/patches/gcc10.patch 
cavezofphear-0.5.1/debian/patches/gcc10.patch
--- cavezofphear-0.5.1/debian/patches/gcc10.patch       1970-01-01 
01:00:00.000000000 +0100
+++ cavezofphear-0.5.1/debian/patches/gcc10.patch       2021-01-07 
18:59:24.000000000 +0000
@@ -0,0 +1,26 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Fix FTBFS with GCC 10
+Bug-Debian: https://bugs.debian.org/957068
+
+--- a/src/frame.c
++++ b/src/frame.c
+@@ -26,7 +26,7 @@
+ void sigint_handler();
+ void sigwinch_handler();
+ 
+-int need_refresh;
++extern int need_refresh;
+ 
+ void curses_start(void)
+ {
+--- a/src/editor.c
++++ b/src/editor.c
+@@ -24,7 +24,7 @@
+ #include "common.h"
+ #include "proto.h"
+ 
+-char map[MAP_YSIZE][MAP_XSIZE];
++extern char map[MAP_YSIZE][MAP_XSIZE];
+ int lock;
+ int last_obj;
+ 
diff -Nru cavezofphear-0.5.1/debian/patches/series 
cavezofphear-0.5.1/debian/patches/series
--- cavezofphear-0.5.1/debian/patches/series    1970-01-01 01:00:00.000000000 
+0100
+++ cavezofphear-0.5.1/debian/patches/series    2021-01-07 18:59:24.000000000 
+0000
@@ -0,0 +1 @@
+gcc10.patch

Reply via email to