Control: tags 957941 + patch Control: tags 957941 + pending
Dear maintainer, I've prepared an NMU for wmcalclock (versioned as 1.25-16.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should cancel it. Also added Douglas in Cc as he intends to adopt this package. -- Regards Sudip diff -Nru wmcalclock-1.25/debian/changelog wmcalclock-1.25/debian/changelog --- wmcalclock-1.25/debian/changelog 2016-10-27 01:33:54.000000000 +0100 +++ wmcalclock-1.25/debian/changelog 2020-07-31 12:11:07.000000000 +0100 @@ -1,3 +1,10 @@ +wmcalclock (1.25-16.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix ftbfs with GCC-10. (Closes: #957941) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Fri, 31 Jul 2020 12:11:07 +0100 + wmcalclock (1.25-16) unstable; urgency=low * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". diff -Nru wmcalclock-1.25/debian/patches/05-fix-ftbfs.patch wmcalclock-1.25/debian/patches/05-fix-ftbfs.patch --- wmcalclock-1.25/debian/patches/05-fix-ftbfs.patch 1970-01-01 01:00:00.000000000 +0100 +++ wmcalclock-1.25/debian/patches/05-fix-ftbfs.patch 2020-07-29 21:44:00.000000000 +0100 @@ -0,0 +1,41 @@ +Description: Fix ftbfs with GCC-10 + +Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> +Bug-Debian: https://bugs.debian.org/957941 +Forwarded: no + +--- + +--- wmcalclock-1.25.orig/Src/xutils.c ++++ wmcalclock-1.25/Src/xutils.c +@@ -53,6 +53,11 @@ GC NormalGC; + XpmIcon wmgen; + Pixmap pixmask; + ++Display *display; ++Window Root; ++Window iconwin, win; ++int screen; ++int DisplayDepth; + + /* + * Colors for wmCalClock +--- wmcalclock-1.25.orig/Src/xutils.h ++++ wmcalclock-1.25/Src/xutils.h +@@ -18,11 +18,11 @@ typedef struct { + /* + * Global variable + */ +-Display *display; +-Window Root; +-Window iconwin, win; +-int screen; +-int DisplayDepth; ++extern Display *display; ++extern Window Root; ++extern Window iconwin, win; ++extern int screen; ++extern int DisplayDepth; + + + diff -Nru wmcalclock-1.25/debian/patches/series wmcalclock-1.25/debian/patches/series --- wmcalclock-1.25/debian/patches/series 2016-10-27 01:27:28.000000000 +0100 +++ wmcalclock-1.25/debian/patches/series 2020-07-29 21:42:34.000000000 +0100 @@ -3,3 +3,4 @@ 02-30hr-patch.patch 03-manapge-30hr-patch.patch 04-makefile-modifications.patch +05-fix-ftbfs.patch