From e1435d6b632b600d297773e5aabcc2ccd40ce902 Mon Sep 17 00:00:00 2001 From: Michael Nosthoff Date: Sat, 19 Sep 2026 17:57:36 +0200 Subject: [PATCH] package/boost: remove dependencies on Boost.DateTime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Boost.DateTime is header-only since 1.77.0 The Boost Release Notes[0] didn't mention it but it was introduced in the documentation of DateTime in this commit: [1] This was bumped in buildroot in d39d8f7cee9b4634e6f490020204f63fae419e8e So analog to the "header-only" move of Boost.System we have now to gradually phase out the dependencies on this library. Ideally before the stub is removed as it now happened for Boost.System in 1.89.0. [0] https://www.boost.org/releases/1.77.0/ [1] https://github.com/boostorg/date_time/commit/33dc6136f193a100c753c819694d6d11e9ab4123 Signed-off-by: Michael Nosthoff Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni (cherry picked from commit a235a33cfea320907e330023c1c6ec1645a4374a) Signed-off-by: Raphaël Mélotte --- package/boost/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/boost/Config.in b/package/boost/Config.in index a9ab4836b5..7b78345798 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -95,6 +95,9 @@ config BR2_PACKAGE_BOOST_DATE_TIME A set of date-time libraries based on generic programming concepts. + This library is header only since boost 1.77.0. Building a + stub library is still supported for backward compatibility. + config BR2_PACKAGE_BOOST_EXCEPTION bool "boost-exception" help @@ -200,7 +203,6 @@ config BR2_PACKAGE_BOOST_LOG depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_REGEX select BR2_PACKAGE_BOOST_THREAD @@ -359,7 +361,6 @@ config BR2_PACKAGE_BOOST_WAVE depends on !BR2_m68k_cf depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_THREAD help