freebsd-ports/comms/ktrack/files/patch-ktrack_predictionlist.cpp
Ion-Mihai Tetcu f5a473f755 K-Track is an graphical satellite prediction Program that runs under KDE.
It's really accurate as it calculates using the NORAD SGP4/SDP4 Models.
It Controls your Rig for doppler compensation / antenna pointing

Written by lx2gt AT users.sourceforge.net

WWW: http://ktrack.sourceforge.net/

- Diane Bruce, VA3DB
db@db.net

PR:		ports/93781
Submitted by:	Diane Bruce <db at db.net>
2006-07-09 19:55:57 +00:00

20 lines
570 B
C++

--- ktrack/predictionlist.cpp.orig Wed Feb 22 19:58:26 2006
+++ ktrack/predictionlist.cpp Wed Feb 22 19:58:39 2006
@@ -132,7 +132,7 @@
/** No descriptions */
double predictionList::qDateTime2daynum(QDateTime date){
struct tm TM;
- extern int daylight;
+// extern int daylight;
tzset();
TM.tm_sec=date.time().second();
@@ -141,7 +141,7 @@
TM.tm_mday=date.date().day();
TM.tm_mon=date.date().month()-1;
TM.tm_year=date.date().year()-1900;
- TM.tm_isdst=daylight;
+ TM.tm_isdst=0; // daylight;
time_t t = mktime(&TM);
// gmtime_r(&t, &TM);