git: 65d26aefb8dd - main - net/kea-devel: prepare for Boost-1.90 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jan 2026 13:36:32 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65d26aefb8ddf7fe627ec2010818a98f11d72d82
commit 65d26aefb8ddf7fe627ec2010818a98f11d72d82
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-01-03 13:35:02 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-01-03 13:36:24 +0000
net/kea-devel: prepare for Boost-1.90 (+)
Ensure logger always have #include <boost/static_assert.hpp>
c++ -Isrc/lib/log/libkea-log.so.85.0.0.p -Isrc/lib/log -I../src/lib/log -I. -I.. -Isrc -I../src -Isrc/bin -I../src/bin -Isrc/lib -I../src/lib -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HAR
../src/lib/log/logger_level_impl.cc:47:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
47 | BOOST_STATIC_ASSERT(static_cast<int>(DEFAULT) == 0);
| ^
../src/lib/log/logger_level_impl.cc:48:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
48 | BOOST_STATIC_ASSERT(static_cast<int>(DEBUG) == 1);
| ^
../src/lib/log/logger_level_impl.cc:49:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
49 | BOOST_STATIC_ASSERT(static_cast<int>(INFO) == 2);
| ^
../src/lib/log/logger_level_impl.cc:50:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
50 | BOOST_STATIC_ASSERT(static_cast<int>(WARN) == 3);
| ^
../src/lib/log/logger_level_impl.cc:51:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
51 | BOOST_STATIC_ASSERT(static_cast<int>(ERROR) == 4);
| ^
../src/lib/log/logger_level_impl.cc:52:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
52 | BOOST_STATIC_ASSERT(static_cast<int>(FATAL) == 5);
| ^
../src/lib/log/logger_level_impl.cc:53:5: error: use of undeclared identifier 'BOOST_STATIC_ASSERT'
53 | BOOST_STATIC_ASSERT(static_cast<int>(NONE) == 6);
| ^
7 errors generated.
---
net/kea-devel/files/patch-src_lib_log_logger__level__impl.cc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/net/kea-devel/files/patch-src_lib_log_logger__level__impl.cc b/net/kea-devel/files/patch-src_lib_log_logger__level__impl.cc
new file mode 100644
index 000000000000..8bc80b8757b8
--- /dev/null
+++ b/net/kea-devel/files/patch-src_lib_log_logger__level__impl.cc
@@ -0,0 +1,10 @@
+--- src/lib/log/logger_level_impl.cc.orig 2025-10-17 14:58:41 UTC
++++ src/lib/log/logger_level_impl.cc
+@@ -10,6 +10,7 @@
+ #include <string.h>
+ #include <iostream>
+ #include <boost/lexical_cast.hpp>
++#include <boost/static_assert.hpp>
+
+ #include <log4cplus/logger.h>
+