diff options
author | db <db@FreeBSD.org> | 2009-08-26 03:02:44 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2009-08-26 03:02:44 +0800 |
commit | 7f676a0b618b76b2c2423f169ac9fb44e2681ad5 (patch) | |
tree | 76d81b9a039fac865a08751dc85d85410ebdd6dc /comms | |
parent | e55154f8c1c70852bb21fcce51ebd464d47cd253 (diff) | |
download | freebsd-ports-gnome-7f676a0b618b76b2c2423f169ac9fb44e2681ad5.tar.gz freebsd-ports-gnome-7f676a0b618b76b2c2423f169ac9fb44e2681ad5.tar.zst freebsd-ports-gnome-7f676a0b618b76b2c2423f169ac9fb44e2681ad5.zip |
- Fix build on -6
Notified by: erwin (via pointyhat)
Diffstat (limited to 'comms')
-rw-r--r-- | comms/fldigi/Makefile | 2 | ||||
-rw-r--r-- | comms/fldigi/files/patch-src_dialogs_fl_digi.cxx | 19 |
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 |