git: 3a7c85de9d91 - 2023Q3 - comms/ebusd: fix build on FreeBSD 12.4.

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 12 Aug 2023 16:20:33 UTC
The branch 2023Q3 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a7c85de9d916195f3aec32e03adacfe7bd9ed23

commit 3a7c85de9d916195f3aec32e03adacfe7bd9ed23
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-08-12 16:17:25 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-08-12 16:20:23 +0000

    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
    
    (cherry picked from commit e89f74e36d22de5842e015aa5ab5912decf447ec)
---
 comms/ebusd/files/patch-src_lib_ebus_datatype.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

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>