git: 7adb41ad1d25 - main - comms/ebusd: fix build on 13.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jun 2023 07:00:10 UTC
The branch main has been updated by samm: URL: https://cgit.FreeBSD.org/ports/commit/?id=7adb41ad1d257e40f43ec510cae726d811f2887f commit 7adb41ad1d257e40f43ec510cae726d811f2887f Author: Oleksii Samorukov <samm@FreeBSD.org> AuthorDate: 2023-06-07 06:58:10 +0000 Commit: Oleksii Samorukov <samm@FreeBSD.org> CommitDate: 2023-06-07 06:59:57 +0000 comms/ebusd: fix build on 13.1 Include <cmath> header, 13.1 seems to be strict about it Reported by: pkg-fallout --- 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..610c4f93e84a --- /dev/null +++ b/comms/ebusd/files/patch-src_lib_ebus_datatype.cpp @@ -0,0 +1,10 @@ +--- src/lib/ebus/datatype.cpp.orig 2023-06-07 06:49:34 UTC ++++ src/lib/ebus/datatype.cpp +@@ -22,6 +22,7 @@ + + #include "lib/ebus/datatype.h" + #include <math.h> ++#include <cmath> // Only required for FreeBSD 13.1, later versions seems to be fine without that + #include <iostream> + #include <sstream> + #include <iomanip>