wmcalclock: diff for NMU version 1.25-16.1

Caution!
This email has originated from a non-piedmont.edu email account and has embedded attachments or links. We cannot verify the authenticity of these attachments or links. If you suspect this email is not legitimate, do not respond to the email, click the links, or open the attachments. Contact the ITS Help Desk staff for immediate assistance.
________________________________

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
This commit is contained in:
Sudip Mukherjee 2020-07-31 12:25:43 +01:00 committed by Doug Torrance
parent 9d5abc7b94
commit 056e86ab4e
3 changed files with 49 additions and 0 deletions

7
debian/changelog vendored
View File

@ -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.mukherjee@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".

41
debian/patches/05-fix-ftbfs.patch vendored Normal file
View File

@ -0,0 +1,41 @@
Description: Fix ftbfs with GCC-10
Author: Sudip Mukherjee <sudipm.mukherjee@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;

View File

@ -3,3 +3,4 @@
02-30hr-patch.patch
03-manapge-30hr-patch.patch
04-makefile-modifications.patch
05-fix-ftbfs.patch