mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix build on -6
Notified by: erwin (via pointyhat)
This commit is contained in:
parent
960366ad08
commit
a61c14eab6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240321
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= fldigi
|
||||
PORTVERSION= 3.11
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= comms hamradio
|
||||
MASTER_SITES= http://www.w1hkj.com/fldigi-distro/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
19
comms/fldigi/files/patch-src_dialogs_fl_digi.cxx
Normal file
19
comms/fldigi/files/patch-src_dialogs_fl_digi.cxx
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/dialogs/fl_digi.cxx.orig 2009-08-24 13:16:59.000000000 -0400
|
||||
+++ src/dialogs/fl_digi.cxx 2009-08-24 13:17:51.000000000 -0400
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <time.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# include <w32api/windows.h>
|
||||
@@ -1310,7 +1311,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
|
Loading…
Reference in New Issue
Block a user