git: e89f74e36d22 - main - comms/ebusd: fix build on FreeBSD 12.4.

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

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

commit e89f74e36d22de5842e015aa5ab5912decf447ec
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:19:35 +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
---
 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>