Control: tags 957761 + patch Control: tags 957761 + pending Dear maintainer,
I've prepared an NMU for restartd (versioned as 0.2.3-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. -- Regards Sudip diff -Nru restartd-0.2.3/debian/changelog restartd-0.2.3/debian/changelog --- restartd-0.2.3/debian/changelog 2013-01-13 02:52:37.000000000 +0000 +++ restartd-0.2.3/debian/changelog 2020-08-10 19:43:26.000000000 +0100 @@ -1,3 +1,10 @@ +restartd (0.2.3-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix ftbfs with GCC-10. (Closes: #957761) + + -- Sudip Mukherjee <[email protected]> Mon, 10 Aug 2020 19:43:26 +0100 + restartd (0.2.3-1) unstable; urgency=low * Project moved out of Debian as the scope is now broader. diff -Nru restartd-0.2.3/debian/patches/fix_ftbfs.patch restartd-0.2.3/debian/patches/fix_ftbfs.patch --- restartd-0.2.3/debian/patches/fix_ftbfs.patch 1970-01-01 01:00:00.000000000 +0100 +++ restartd-0.2.3/debian/patches/fix_ftbfs.patch 2020-08-10 19:42:50.000000000 +0100 @@ -0,0 +1,45 @@ +Description: Fix ftbfs with GCC-10 + +Author: Sudip Mukherjee <[email protected]> +Bug-Debian: https://bugs.debian.org/957761 +Forwarded: https://github.com/ajraymond/restartd/pull/7 + +--- + +--- restartd-0.2.3.orig/config.h ++++ restartd-0.2.3/config.h +@@ -33,12 +33,12 @@ + + #define DEFAULT_CONFIG "/etc/restartd.conf" + +-int debug; // Debug +-int config_process_number; +-int check_interval; +-int foreground; +-struct config_process_type *config_process; +-char *config_file; ++extern int debug; // Debug ++extern int config_process_number; ++extern int check_interval; ++extern int foreground; ++extern struct config_process_type *config_process; ++extern char *config_file; + + typedef struct config_process_type { + char name[64]; +--- restartd-0.2.3.orig/main.c ++++ restartd-0.2.3/main.c +@@ -35,6 +35,13 @@ + + #include "config.h" + ++int debug; // Debug ++int config_process_number; ++int check_interval; ++int foreground; ++struct config_process_type *config_process; ++char *config_file; ++ + // SIGTERM & SIGHUP handler + void got_signal(int sig) + { diff -Nru restartd-0.2.3/debian/patches/series restartd-0.2.3/debian/patches/series --- restartd-0.2.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ restartd-0.2.3/debian/patches/series 2020-08-10 19:25:48.000000000 +0100 @@ -0,0 +1 @@ +fix_ftbfs.patch

