freebsd-ports/comms/fldigi/files/patch-src_dialogs_fl_digi.cxx
Diane Bruce 71390ccd88 - Update to Version 3.21.10
* Replaced es.po with newer translation
* Updated es.po, fr.po and it.po to correctly identify
  strings changed by e000ac157e7a96b
* Corrected misspelled words in tool tip
* Removed duplicate defines in src/dialogs/fl_digi.cxx
* GNU/Hurd build fix
2011-06-01 00:19:04 +00:00

20 lines
508 B
C++

--- src/dialogs/fl_digi.cxx.orig 2011-05-28 14:08:32.000000000 -0400
+++ src/dialogs/fl_digi.cxx 2011-05-29 18:51:27.000000000 -0400
@@ -26,6 +26,7 @@
#include <config.h>
#include <sys/types.h>
+#include <time.h>
#ifdef __WOE32__
# ifdef __CYGWIN__
@@ -1866,7 +1867,7 @@
Fl::repeat_timeout(st, ztimer);
struct tm tm;
- gmtime_r(&tv.tv_sec, &tm);
+ gmtime_r((const time_t *)&tv.tv_sec, &tm);
if (!strftime(ztbuf, sizeof(ztbuf), "%Y%m%d %H%M", &tm))
memset(ztbuf, 0, sizeof(ztbuf));
else