aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2009-08-25 19:02:44 +0000
committerDiane Bruce <db@FreeBSD.org>2009-08-25 19:02:44 +0000
commita61c14eab666fa70fad2b8e88b274fce2ddf5b90 (patch)
treebb1d01522b4efb65ccca57b3e40db9902dcc46f0 /comms
parent960366ad08fc8f2ea859ae7e0ba0961c87296019 (diff)
downloadports-a61c14eab666fa70fad2b8e88b274fce2ddf5b90.tar.gz
ports-a61c14eab666fa70fad2b8e88b274fce2ddf5b90.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/fldigi/Makefile2
-rw-r--r--comms/fldigi/files/patch-src_dialogs_fl_digi.cxx19
2 files changed, 20 insertions, 1 deletions
diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile
index d20156bb7023..4bb70c02eaf0 100644
--- a/comms/fldigi/Makefile
+++ b/comms/fldigi/Makefile
@@ -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}
diff --git a/comms/fldigi/files/patch-src_dialogs_fl_digi.cxx b/comms/fldigi/files/patch-src_dialogs_fl_digi.cxx
new file mode 100644
index 000000000000..0c0540bb5ab3
--- /dev/null
+++ b/comms/fldigi/files/patch-src_dialogs_fl_digi.cxx
@@ -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