Control: tags 957144 + patch
Control: tags 957144 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -u dnshistory-1.3/debian/changelog dnshistory-1.3/debian/changelog
--- dnshistory-1.3/debian/changelog
+++ dnshistory-1.3/debian/changelog
@@ -1,3 +1,10 @@
+dnshistory (1.3-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957144)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Wed, 09 Sep 2020 20:38:29 
+0100
+
 dnshistory (1.3-2) unstable; urgency=low
 
   * Acknowledge NMU
diff -u dnshistory-1.3/debian/patches/series 
dnshistory-1.3/debian/patches/series
--- dnshistory-1.3/debian/patches/series
+++ dnshistory-1.3/debian/patches/series
@@ -1,0 +2 @@
+gcc-10.patch
only in patch2:
unchanged:
--- dnshistory-1.3.orig/debian/patches/gcc-10.patch
+++ dnshistory-1.3/debian/patches/gcc-10.patch
@@ -0,0 +1,13 @@
+Declare variable as extern to fix FTBFS with gcc-10
+
+--- a/src/dnshistory.h
++++ b/src/dnshistory.h
+@@ -163,7 +163,7 @@ typedef struct {
+  *                              GLOBALS                                 *
+  ************************************************************************/
+ /*-- Date/Time --*/
+-time_t current_day;                             /* The current day, check to 
see if we need to update a record in this run
++extern time_t current_day;                      /* The current day, check to 
see if we need to update a record in this run
+                                                    Also see SAME_RUN */
+ 
+ /*-- DB Setup --*/

Reply via email to