Control: tags 966855 + patch Control: tags 966855 + pending Dear maintainer,
I've prepared an NMU for hexcurse (versioned as 1.58-1.3) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. -- Regards Sudip diff -Nru hexcurse-1.58/debian/changelog hexcurse-1.58/debian/changelog --- hexcurse-1.58/debian/changelog 2020-03-29 19:36:45.000000000 +0100 +++ hexcurse-1.58/debian/changelog 2020-08-31 19:44:26.000000000 +0100 @@ -1,3 +1,10 @@ +hexcurse (1.58-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with gcc-10. (Closes: #966855) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Mon, 31 Aug 2020 19:44:26 +0100 + hexcurse (1.58-1.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru hexcurse-1.58/debian/patches/gcc-10.patch hexcurse-1.58/debian/patches/gcc-10.patch --- hexcurse-1.58/debian/patches/gcc-10.patch 1970-01-01 01:00:00.000000000 +0100 +++ hexcurse-1.58/debian/patches/gcc-10.patch 2020-08-31 19:43:53.000000000 +0100 @@ -0,0 +1,30 @@ +Description: Fix FTBFS + +Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> +Bug-Debian: https://bugs.debian.org/966855 +Forwarded: no + +--- + +--- hexcurse-1.58.orig/include/hex.h ++++ hexcurse-1.58/include/hex.h +@@ -126,7 +126,7 @@ extern char EBCDIC[256]; + #define max(a,b) ((a) >(b) ? (a) : (b)) + #endif + +-FILE *fpIN, *fpOUT; /* global file ptrs */ ++extern FILE *fpIN, *fpOUT; /* global file ptrs */ + + /* function prototypes */ + +--- hexcurse-1.58.orig/src/file.c ++++ hexcurse-1.58/src/file.c +@@ -18,6 +18,8 @@ + \******************************************************************************/ + #include "hex.h" + ++FILE *fpIN, *fpOUT; ++ + /*******************************************************\ + * Description: prints out a line of text to the screen* + * the current address line and both the * diff -Nru hexcurse-1.58/debian/patches/series hexcurse-1.58/debian/patches/series --- hexcurse-1.58/debian/patches/series 2020-03-29 19:36:45.000000000 +0100 +++ hexcurse-1.58/debian/patches/series 2020-08-31 19:42:46.000000000 +0100 @@ -3,3 +3,4 @@ 0001-explicitly-mark-fallthrough-case.patch 0001-fix-format-truncation-error-with-GCC-7.patch fix_ftbfs.patch +gcc-10.patch