aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-08-12 16:17:25 +0000
committerRene Ladan <rene@FreeBSD.org>2023-08-12 16:19:35 +0000
commite89f74e36d22de5842e015aa5ab5912decf447ec (patch)
tree3acacff2cb6cfc8484cd60cdcfd244802e89b780 /comms
parent35b19a089eda64d6f6b10124e533085e55ccbf50 (diff)
downloadports-e89f74e36d22de5842e015aa5ab5912decf447ec.tar.gz
ports-e89f74e36d22de5842e015aa5ab5912decf447ec.zip
comms/ebusd: fix build on FreeBSD 12.4.
It needs the same patch as it did for FreeBSD 13.1 there. Reported by: pkg-fallout via antoine
Diffstat (limited to 'comms')
-rw-r--r--comms/ebusd/files/patch-src_lib_ebus_datatype.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/comms/ebusd/files/patch-src_lib_ebus_datatype.cpp b/comms/ebusd/files/patch-src_lib_ebus_datatype.cpp
new file mode 100644
index 000000000000..d64b593b3f9a
--- /dev/null
+++ b/comms/ebusd/files/patch-src_lib_ebus_datatype.cpp
@@ -0,0 +1,10 @@
+--- src/lib/ebus/datatype.cpp.orig 2023-07-08 13:54:20 UTC
++++ src/lib/ebus/datatype.cpp
+@@ -22,6 +22,7 @@
+
+ #include "lib/ebus/datatype.h"
+ #include <math.h>
++#include <cmath> # for FreeBSD 12.4
+ #include <iostream>
+ #include <sstream>
+ #include <iomanip>