kea: fix build issue with boost-1.90 static assert
authorPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 5 Jan 2026 23:20:55 +0000 (16:20 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 6 Jan 2026 20:05:40 +0000 (13:05 -0700)
The headers apparently changed in 1.90 from 1.89 and the
definition for BOOST_STATIC_ASSERT() needs to be brought
in explicitly from <boost/static_assert.hpp> which wasn't
previously the case.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/kea/Makefile
net/kea/patches/050-boost-static-assert.patch [new file with mode: 0644]

index 5d54926804af5f9e4a6b4ed7c690c786b5c1d5b8..30d7f586742d2dbeb3bb91eab04dff23c09bf44d 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kea
 PKG_VERSION:=3.0.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://ftp.isc.org/isc/kea/$(PKG_VERSION)
diff --git a/net/kea/patches/050-boost-static-assert.patch b/net/kea/patches/050-boost-static-assert.patch
new file mode 100644 (file)
index 0000000..b1fe484
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/lib/log/logger_level_impl.cc
++++ b/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>