summaryrefslogtreecommitdiff
path: root/misc/ecflow
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-09-04 10:26:09 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-04 11:30:56 -0700
commit234aeaa0b349bbac3ee9d9a7e47e4b81957724fa (patch)
tree29e16dfed3e92232eb33163835aa7e5adaf357ed /misc/ecflow
parentscience/py-hoomd-blue: Update 3.2.0 -> 3.4.0; Add MPI options (diff)
misc/ecflow: Fix build on 12
Missing #include <time.h> caused build failure. Reported by: fallout
Diffstat (limited to 'misc/ecflow')
-rw-r--r--misc/ecflow/files/patch-ACore_src_Passwd.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/ecflow/files/patch-ACore_src_Passwd.cpp b/misc/ecflow/files/patch-ACore_src_Passwd.cpp
new file mode 100644
index 000000000000..c9d73cf813e2
--- /dev/null
+++ b/misc/ecflow/files/patch-ACore_src_Passwd.cpp
@@ -0,0 +1,14 @@
+- fixes failure: error: use of undeclared identifier 'time' on FreeBSD 12
+- This seems to be a general problem that this header isn't included.
+- it's unclear how to report bugs: emails to Software.Software@ecmwf.int bounce, and linked JIRA account has no such project.
+
+--- ACore/src/Passwd.cpp.orig 2022-09-04 16:37:50 UTC
++++ ACore/src/Passwd.cpp
+@@ -13,6 +13,7 @@
+ // Description :
+ //============================================================================
+
++#include <time.h> // for time(3)
+ #include <unistd.h>
+
+ #include "Passwd.hpp"