Control: tags 957923 + patch
Control: tags 957923 + pending

Dear maintainer,

I've prepared an NMU for webalizer (versioned as 2.23.08-3.2) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer or cancel the NMU.

Regards.

diff -Nru webalizer-2.23.08/debian/changelog webalizer-2.23.08/debian/changelog
--- webalizer-2.23.08/debian/changelog  2018-10-15 15:03:02.000000000 +0000
+++ webalizer-2.23.08/debian/changelog  2021-02-12 21:04:51.000000000 +0000
@@ -1,3 +1,11 @@
+webalizer (2.23.08-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/27_fix_compilation_with_gcc-10.diff.
+    Thanks to Logan Rosen <lo...@ubuntu.com>. (Closes: #957923)
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>  Fri, 12 
Feb 2021 21:04:51 +0000
+
 webalizer (2.23.08-3.1) unstable; urgency=medium
 
   * Non-maintainer upload with maintainer consent.
diff -Nru webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff 
webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff
--- webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff        
1970-01-01 00:00:00.000000000 +0000
+++ webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff        
2021-02-12 20:58:29.000000000 +0000
@@ -0,0 +1,25 @@
+Description: Fix compilation with GCC 10.
+Author: Logan Rosen <lo...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/957923
+Forwarded: no
+Reviewed-By: Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
+Last-Update: 2021-02-12
+
+--- a/dns_resolv.c
++++ b/dns_resolv.c
+@@ -78,11 +78,11 @@
+ 
+ struct   dns_child child[MAXCHILD];            /* DNS child pipe data      */
+ 
+-DNODEPTR host_table[MAXHASH];                  /* hostname/ip hash table   */
++extern DNODEPTR host_table[MAXHASH];           /* hostname/ip hash table   */
+ 
+-char     buffer[BUFSIZE];                      /* log file record buffer   */
+-char     tmp_buf[BUFSIZE];                     /* used to temp save above  */
+-struct   utsname system_info;                  /* system info structure    */
++extern char     buffer[BUFSIZE];               /* log file record buffer   */
++extern char     tmp_buf[BUFSIZE];              /* used to temp save above  */
++extern struct   utsname system_info;           /* system info structure    */
+ 
+ int      raiseSigChild = 1;
+ 
diff -Nru webalizer-2.23.08/debian/patches/series 
webalizer-2.23.08/debian/patches/series
--- webalizer-2.23.08/debian/patches/series     2018-10-15 15:03:02.000000000 
+0000
+++ webalizer-2.23.08/debian/patches/series     2021-02-12 21:01:24.000000000 
+0000
@@ -15,3 +15,4 @@
 24_gettext_generated.diff
 25_add_convertlang2po.diff
 26_gettext_po_files.diff
+27_fix_compilation_with_gcc-10.diff

-- 
Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00
diff -Nru webalizer-2.23.08/debian/changelog webalizer-2.23.08/debian/changelog
--- webalizer-2.23.08/debian/changelog  2018-10-15 15:03:02.000000000 +0000
+++ webalizer-2.23.08/debian/changelog  2021-02-12 21:04:51.000000000 +0000
@@ -1,3 +1,11 @@
+webalizer (2.23.08-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/27_fix_compilation_with_gcc-10.diff.
+    Thanks to Logan Rosen <lo...@ubuntu.com>. (Closes: #957923)
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>  Fri, 12 
Feb 2021 21:04:51 +0000
+
 webalizer (2.23.08-3.1) unstable; urgency=medium
 
   * Non-maintainer upload with maintainer consent.
diff -Nru webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff 
webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff
--- webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff        
1970-01-01 00:00:00.000000000 +0000
+++ webalizer-2.23.08/debian/patches/27_fix_compilation_with_gcc-10.diff        
2021-02-12 20:58:29.000000000 +0000
@@ -0,0 +1,25 @@
+Description: Fix compilation with GCC 10.
+Author: Logan Rosen <lo...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/957923
+Forwarded: no
+Reviewed-By: Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
+Last-Update: 2021-02-12
+
+--- a/dns_resolv.c
++++ b/dns_resolv.c
+@@ -78,11 +78,11 @@
+ 
+ struct   dns_child child[MAXCHILD];            /* DNS child pipe data      */
+ 
+-DNODEPTR host_table[MAXHASH];                  /* hostname/ip hash table   */
++extern DNODEPTR host_table[MAXHASH];           /* hostname/ip hash table   */
+ 
+-char     buffer[BUFSIZE];                      /* log file record buffer   */
+-char     tmp_buf[BUFSIZE];                     /* used to temp save above  */
+-struct   utsname system_info;                  /* system info structure    */
++extern char     buffer[BUFSIZE];               /* log file record buffer   */
++extern char     tmp_buf[BUFSIZE];              /* used to temp save above  */
++extern struct   utsname system_info;           /* system info structure    */
+ 
+ int      raiseSigChild = 1;
+ 
diff -Nru webalizer-2.23.08/debian/patches/series 
webalizer-2.23.08/debian/patches/series
--- webalizer-2.23.08/debian/patches/series     2018-10-15 15:03:02.000000000 
+0000
+++ webalizer-2.23.08/debian/patches/series     2021-02-12 21:01:24.000000000 
+0000
@@ -15,3 +15,4 @@
 24_gettext_generated.diff
 25_add_convertlang2po.diff
 26_gettext_po_files.diff
+27_fix_compilation_with_gcc-10.diff

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to