1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/astro/gkrellsun/files/patch-gkrellsun.c
Christian Weisgerber 149a799667 Import gkrellsun 0.2.
A Gkrellm-Plugin that displays the local sun rise and sun set times.
The local latitude and longtitude can be set.

PR:		41670
Submitted by:	Steffen Vogelreuter <steffen@vogelreuter.de>
2002-08-15 14:12:03 +00:00

17 lines
464 B
C

$FreeBSD$
--- gkrellsun.c.orig Thu Aug 15 15:32:05 2002
+++ gkrellsun.c Thu Aug 15 15:35:13 2002
@@ -92,8 +92,9 @@
static void update_sun_data(Sun * sun)
{
struct tm *time_struc; /* The tm struct is defined in <time.h> */
+ time_t current_gmt;
gdouble local_std_time, univ_time, eot;
- glong current_gmt, date;
+ glong date;
gint day_of_month, month, year;
current_gmt = time(CurrentTime); /* CurrentTime defined in <X11/X.h> */