Control: tags 957012 + patch
Control: tags 957012 + pending

Dear maintainer,

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

--
Regards
Sudip

diff -Nru asmon-0.71/debian/changelog asmon-0.71/debian/changelog
--- asmon-0.71/debian/changelog 2019-08-04 21:30:12.000000000 +0100
+++ asmon-0.71/debian/changelog 2020-08-18 20:26:34.000000000 +0100
@@ -1,3 +1,10 @@
+asmon (0.71-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957012)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Tue, 18 Aug 2020 20:26:34 
+0100
+
 asmon (0.71-8) unstable; urgency=medium
 
   * Fix FTCBFS: (Closes: #933050, Thanks Helmut Grohne)
diff -Nru asmon-0.71/debian/patches/0007-fix-ftbfs.patch 
asmon-0.71/debian/patches/0007-fix-ftbfs.patch
--- asmon-0.71/debian/patches/0007-fix-ftbfs.patch      1970-01-01 
01:00:00.000000000 +0100
+++ asmon-0.71/debian/patches/0007-fix-ftbfs.patch      2020-08-18 
20:25:56.000000000 +0100
@@ -0,0 +1,29 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957012
+Forwarded: no
+
+---
+
+--- asmon-0.71.orig/wmgeneral/wmgeneral.c
++++ asmon-0.71/wmgeneral/wmgeneral.c
+@@ -50,6 +50,7 @@ Window               iconwin, win;
+ GC                    NormalGC;
+ XpmIcon               wmgen;
+ Pixmap                pixmask;
++Display               *display;
+ 
+   /*****************/
+  /* Mouse Regions */
+--- asmon-0.71.orig/wmgeneral/wmgeneral.h
++++ asmon-0.71/wmgeneral/wmgeneral.h
+@@ -28,7 +28,7 @@ typedef struct {
+  /* Global variable */
+ /*******************/
+ 
+-Display               *display;
++extern Display                *display;
+ 
+   /***********************/
+  /* Function Prototypes */
diff -Nru asmon-0.71/debian/patches/series asmon-0.71/debian/patches/series
--- asmon-0.71/debian/patches/series    2019-08-04 21:30:12.000000000 +0100
+++ asmon-0.71/debian/patches/series    2020-08-18 19:46:04.000000000 +0100
@@ -4,3 +4,4 @@
 0004-build-with-gnu89-inlines-777780.patch
 0005-build-hardening.patch
 0006-Make-gcc-substituable-933050.patch
+0007-fix-ftbfs.patch

Reply via email to