Control: tags 957107 + patch
Control: tags 957107 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru crashmail-1.7/debian/changelog crashmail-1.7/debian/changelog
--- crashmail-1.7/debian/changelog      2018-07-19 00:14:23.000000000 +0100
+++ crashmail-1.7/debian/changelog      2020-12-02 21:49:50.000000000 +0000
@@ -1,3 +1,10 @@
+crashmail (1.7-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957107)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Wed, 02 Dec 2020 21:49:50 
+0000
+
 crashmail (1.7-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru crashmail-1.7/debian/patches/fix_gcc-10.patch 
crashmail-1.7/debian/patches/fix_gcc-10.patch
--- crashmail-1.7/debian/patches/fix_gcc-10.patch       1970-01-01 
01:00:00.000000000 +0100
+++ crashmail-1.7/debian/patches/fix_gcc-10.patch       2020-12-02 
21:49:20.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/957107
+Forwarded: no
+
+---
+
+--- crashmail-1.7.orig/src/crashmail/handle.c
++++ crashmail-1.7/src/crashmail/handle.c
+@@ -94,7 +94,7 @@ bool AddTossNode(struct Area *area,struc
+    return(TRUE);
+ }
+ 
+-time_t lastt;
++static time_t lastt;
+ 
+ void MakeDirectory(char *dest,uint32_t destsize,char *defdir,char *areaname)
+ {
+--- crashmail-1.7.orig/src/crashmail/pkt.c
++++ crashmail-1.7/src/crashmail/pkt.c
+@@ -551,7 +551,7 @@ struct Pkt *FindPkt(struct Node4D *node,
+    return(NULL);
+ }
+ 
+-time_t lastt;
++static time_t lastt;
+ uint32_t serial;
+ 
+ struct Pkt *CreatePkt(struct Node4D *dest,struct ConfigNode *node,struct 
Node4D *orig,uint16_t type)
diff -Nru crashmail-1.7/debian/patches/series 
crashmail-1.7/debian/patches/series
--- crashmail-1.7/debian/patches/series 2018-07-19 00:14:23.000000000 +0100
+++ crashmail-1.7/debian/patches/series 2020-12-02 21:41:45.000000000 +0000
@@ -1,3 +1,4 @@
 01-ExamplePrefs.patch
 02-Makefile.patch
 03-MitigateErroneousFailure.patch
+fix_gcc-10.patch

Reply via email to