Control: tags 957954 + patch
Control: tags 957954 + pending

Dear maintainer,

I've prepared an NMU for wmwave (versioned as 0.4-11.1) 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 wmwave-0.4/debian/changelog wmwave-0.4/debian/changelog
--- wmwave-0.4/debian/changelog 2019-10-25 21:59:08.000000000 +0000
+++ wmwave-0.4/debian/changelog 2021-02-12 22:18:49.000000000 +0000
@@ -1,3 +1,11 @@
+wmwave (0.4-11.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/Fix-compilation-with-gcc-10.patch.
+    Thanks to Logan Rosen <lo...@ubuntu.com>. (Closes: #957954)
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>  Fri, 12 
Feb 2021 22:18:49 +0000
+
 wmwave (0.4-11) unstable; urgency=medium
 
   [ Guido Günther ]
diff -Nru wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 
wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch
--- wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 1970-01-01 
00:00:00.000000000 +0000
+++ wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 2021-02-12 
22:18:49.000000000 +0000
@@ -0,0 +1,29 @@
+Description: Fix compilation with GCC 10.
+Author: Logan Rosen <lo...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/957954
+Forwarded: no
+Reviewed-By: Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
+Last-Update: 2021-02-12
+
+--- a/wmgeneral.h
++++ b/wmgeneral.h
+@@ -36,7 +36,7 @@
+  /* Global variable */
+ /*******************/
+ 
+-Display               *display;
++extern Display                *display;
+ 
+   /***********************/
+  /* Function Prototypes */
+--- a/wmwave.c
++++ b/wmwave.c
+@@ -79,6 +79,8 @@
+ 
+ int mode = 0;    // default: no card detected
+ 
++Display *display;
++
+ void usage(void);
+ void printversion(void);
+ void BlitString(char *name, int x, int y);
diff -Nru wmwave-0.4/debian/patches/series wmwave-0.4/debian/patches/series
--- wmwave-0.4/debian/patches/series    2019-10-25 21:28:57.000000000 +0000
+++ wmwave-0.4/debian/patches/series    2021-02-12 22:18:49.000000000 +0000
@@ -1,2 +1,3 @@
 Debian-delta.patch
 Move-libraries-to-the-end.patch
+Fix-compilation-with-gcc-10.patch

-- 
Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00
diff -Nru wmwave-0.4/debian/changelog wmwave-0.4/debian/changelog
--- wmwave-0.4/debian/changelog 2019-10-25 21:59:08.000000000 +0000
+++ wmwave-0.4/debian/changelog 2021-02-12 22:18:49.000000000 +0000
@@ -1,3 +1,11 @@
+wmwave (0.4-11.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/Fix-compilation-with-gcc-10.patch.
+    Thanks to Logan Rosen <lo...@ubuntu.com>. (Closes: #957954)
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>  Fri, 12 
Feb 2021 22:18:49 +0000
+
 wmwave (0.4-11) unstable; urgency=medium
 
   [ Guido Günther ]
diff -Nru wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 
wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch
--- wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 1970-01-01 
00:00:00.000000000 +0000
+++ wmwave-0.4/debian/patches/Fix-compilation-with-gcc-10.patch 2021-02-12 
22:18:49.000000000 +0000
@@ -0,0 +1,29 @@
+Description: Fix compilation with GCC 10.
+Author: Logan Rosen <lo...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/957954
+Forwarded: no
+Reviewed-By: Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net>
+Last-Update: 2021-02-12
+
+--- a/wmgeneral.h
++++ b/wmgeneral.h
+@@ -36,7 +36,7 @@
+  /* Global variable */
+ /*******************/
+ 
+-Display               *display;
++extern Display                *display;
+ 
+   /***********************/
+  /* Function Prototypes */
+--- a/wmwave.c
++++ b/wmwave.c
+@@ -79,6 +79,8 @@
+ 
+ int mode = 0;    // default: no card detected
+ 
++Display *display;
++
+ void usage(void);
+ void printversion(void);
+ void BlitString(char *name, int x, int y);
diff -Nru wmwave-0.4/debian/patches/series wmwave-0.4/debian/patches/series
--- wmwave-0.4/debian/patches/series    2019-10-25 21:28:57.000000000 +0000
+++ wmwave-0.4/debian/patches/series    2021-02-12 22:18:49.000000000 +0000
@@ -1,2 +1,3 @@
 Debian-delta.patch
 Move-libraries-to-the-end.patch
+Fix-compilation-with-gcc-10.patch

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to