Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2023 07:00:10 GMT
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7adb41ad1d25 - main - comms/ebusd: fix build on 13.1
Message-ID:  <202306070700.35770Asa040825@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306070700.35770Asa040825>