Control: tags 957686 + patch Control: tags 957686 + pending -- Dear maintainer,
I've prepared an NMU for pinfo (versioned as 0.6.13-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. -- Regards Sudip diff -Nru pinfo-0.6.13/debian/changelog pinfo-0.6.13/debian/changelog --- pinfo-0.6.13/debian/changelog 2019-02-16 20:28:19.000000000 +0000 +++ pinfo-0.6.13/debian/changelog 2020-10-28 19:06:48.000000000 +0000 @@ -1,3 +1,10 @@ +pinfo (0.6.13-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix ftbfs with GCC-10. (Closes: #957686) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Wed, 28 Oct 2020 19:06:48 +0000 + pinfo (0.6.13-1) sid; urgency=medium * New upstream release diff -Nru pinfo-0.6.13/debian/patches/fix_gcc-10.patch pinfo-0.6.13/debian/patches/fix_gcc-10.patch --- pinfo-0.6.13/debian/patches/fix_gcc-10.patch 1970-01-01 01:00:00.000000000 +0100 +++ pinfo-0.6.13/debian/patches/fix_gcc-10.patch 2020-10-28 19:06:46.000000000 +0000 @@ -0,0 +1,30 @@ +Description: Fix ftbfs with GCC-10. + +Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> +Bug-Debian: https://bugs.debian.org/957686 +Forwarded: no + +--- + +--- pinfo-0.6.13.orig/src/parse_config.h ++++ pinfo-0.6.13/src/parse_config.h +@@ -85,8 +85,6 @@ typedef struct colours + colours; + #endif /* HAVE_CURSES_COLOR */ + +-int use_manual; +- + int parse_config (void); + int parse_line (char *line); + char *str_toupper (char *s); +--- pinfo-0.6.13.orig/src/utils.c ++++ pinfo-0.6.13/src/utils.c +@@ -866,7 +866,7 @@ make_tempfile() + /* allocate a new string and copy the filename there */ + len = strlen(tmpfile_template)+1; + filename = xmalloc(len+1); /* guarenteerd to be set to \0's */ +- strncpy(filename, tmpfile_template, len); ++ strcpy(filename, tmpfile_template); + + /* close the file */ + close(fd); diff -Nru pinfo-0.6.13/debian/patches/series pinfo-0.6.13/debian/patches/series --- pinfo-0.6.13/debian/patches/series 2019-02-16 20:28:19.000000000 +0000 +++ pinfo-0.6.13/debian/patches/series 2020-10-28 18:56:45.000000000 +0000 @@ -0,0 +1 @@ +fix_gcc-10.patch