mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Changelog: https://repo.or.cz/dockapps.git/blob_plain/HEAD:/wmsun/ChangeLog Major changes: * Fix typo in manpage. * Move version number definition to Makefile * Add 'dist' target to Makefile to generate tarball Port changes: * reformat Makefile to make portfmt happy * update WWW (error 404)
20 lines
665 B
C
20 lines
665 B
C
--- wmsun.c.orig 2024-10-17 21:51:08 UTC
|
|
+++ wmsun.c
|
|
@@ -43,7 +43,7 @@
|
|
/*
|
|
* Includes
|
|
*/
|
|
-#define _POSIX_C_SOURCE 1
|
|
+#define _POSIX_C_SOURCE 200112L
|
|
#include <X11/X.h> /* for ButtonPress, ButtonRelease, etc */
|
|
#include <X11/Xlib.h> /* for XEvent, ConnectionNumber, etc */
|
|
#include <math.h> /* for cos, sin */
|
|
@@ -105,7 +105,7 @@
|
|
int n;
|
|
int Year, Month;
|
|
int DayOfMonth;
|
|
- long CurrentLocalTime, CurrentGMTTime, date;
|
|
+ time_t CurrentLocalTime, CurrentGMTTime, date;
|
|
double UT, val, LTRise, LTSet, LocalHour, hour24();
|
|
int H, M;
|
|
struct timeval timeout;
|