Control: tags -1 + patch Hi,
the attached patches fixes the FTBFS with GCC 10. Regards, Reiner
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 2020-08-01 15:44:47.000000000 +0200 @@ -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 2020-08-01 15:44:47.000000000 +0200 @@ -0,0 +1 @@ +gcc10.patch
signature.asc
Description: PGP signature