Commit graph

12 commits

Author SHA1 Message Date
Jeremy Sowden 766200a19f wmmoonclock: fix typo.
Patch by Doug from the Debian package.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden 19f9137056 wmmoonclock: fix multiple definitions of some global variables.
A number of variables are declared in a header with no explicit linkage.
This results in there being definitions of them in multiple object
files, which causes a link failure with GCC 10, since this uses
-fno-common by default.

Add `extern` to the header declarations and separate declarations with
no linkage in xutils.c where they are assigned.

Link: https://bugs.debian.org/957950
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden f3c5aa1780 wmmoonclock: mark some file-scope variables static.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Doug Torrance 51be431e82 wmmoonclock: Use correct includes for each file. 2017-08-15 00:05:43 +01:00
Doug Torrance b9cdeb56df wmmoonclock: Use unsigned char in mask bitmap to avoid overflow warnings. 2017-08-15 00:05:43 +01:00
Doug Torrance 49b3e6a9f3 wmmoonclock: Remove unused variables. 2017-08-14 23:55:51 +01:00
Doug Torrance 509deea873 wmmoonclock: Use autotools for build. 2017-08-14 23:55:51 +01:00
Doug Torrance 612921ae43 Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
Alexey I. Froloff 792a5d290a Mass update FSF address
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:50:13 +01:00
Michael Bienia fb7b05ed1e wmMoonClock: fix build with ld --as-needed
I'm forwarding a patch from Michael Bienia <geser@ubuntu.com> that
has been applied to the wmmoonclock package in Ubuntu.

It fixes a build issue that is caused by specifiying libraries before the object
files in the linker command line.
This causes a build failure as Ubuntu's ld defaults to --as-needed, see:
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

[Patch sent by: Felix Geyer <debfx@ubuntu.com>]
2011-11-08 17:29:52 +00:00
Rodolfo Garcia 38d60e97a1 Version 1.28 Debian patches in upstream 2011-09-21 12:30:46 +02:00
Carlos R. Mafra c3ca024d89 wmmoonclock: Add wmmoonclock v1.27 from tarball 2011-07-27 14:06:34 +02:00