aboutsummaryrefslogtreecommitdiffstats
path: root/comms/fldigi
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2014-11-27 17:47:05 +0800
committershurd <shurd@FreeBSD.org>2014-11-27 17:47:05 +0800
commit4d064d041a2d7501dbcd73119128c806808261fa (patch)
treedc3c9bf9c39afa4eacea7b70a760c17f2ee543f1 /comms/fldigi
parenteb588e996d5bf94e2570c613fbb6906bc1bffabd (diff)
downloadfreebsd-ports-gnome-4d064d041a2d7501dbcd73119128c806808261fa.tar.gz
freebsd-ports-gnome-4d064d041a2d7501dbcd73119128c806808261fa.tar.zst
freebsd-ports-gnome-4d064d041a2d7501dbcd73119128c806808261fa.zip
Fix build on >= 10.0 by including required headers
Diffstat (limited to 'comms/fldigi')
-rw-r--r--comms/fldigi/files/patch-src_data_io.h11
-rw-r--r--comms/fldigi/files/patch-src_include_qrunner.h10
2 files changed, 21 insertions, 0 deletions
diff --git a/comms/fldigi/files/patch-src_data_io.h b/comms/fldigi/files/patch-src_data_io.h
new file mode 100644
index 000000000000..eb297598713c
--- /dev/null
+++ b/comms/fldigi/files/patch-src_data_io.h
@@ -0,0 +1,11 @@
+--- src/include/data_io.h.orig 2014-11-27 01:39:00.000000000 -0800
++++ src/include/data_io.h 2014-11-27 01:39:29.000000000 -0800
+@@ -27,6 +27,8 @@
+ #ifndef fldigi_data_io_h
+ #define fldigi_data_io_h
+
++#include <sys/types.h> // For time_t
++
+ #define DEFAULT_ARQ_IP_ADDRESS "127.0.0.1"
+ #define DEFAULT_ARQ_IP_PORT "7322"
+
diff --git a/comms/fldigi/files/patch-src_include_qrunner.h b/comms/fldigi/files/patch-src_include_qrunner.h
new file mode 100644
index 000000000000..12b4caad48d8
--- /dev/null
+++ b/comms/fldigi/files/patch-src_include_qrunner.h
@@ -0,0 +1,10 @@
+--- src/include/qrunner.h.orig 2014-11-27 01:43:12.000000000 -0800
++++ src/include/qrunner.h 2014-11-27 01:43:46.000000000 -0800
+@@ -32,6 +32,7 @@
+ #include <cerrno>
+ #include <stdexcept>
+ #include <cstring>
++#include <string>
+
+ #if HAVE_STD_BIND
+ # include <functional>