commit: f55a2409b0e1844d38d48b86a8e14e0840b7806c Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Jan 20 16:07:54 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jan 20 19:49:04 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55a2409
net-wireless/gnuradio: Fix build w/ boost-1.89 Closes: https://bugs.gentoo.org/969063 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/gnuradio-3.10.12.0-boost-1.89.patch | 43 ++++++++++++++++++++++ net-wireless/gnuradio/gnuradio-3.10.12.0-r2.ebuild | 4 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/net-wireless/gnuradio/files/gnuradio-3.10.12.0-boost-1.89.patch b/net-wireless/gnuradio/files/gnuradio-3.10.12.0-boost-1.89.patch new file mode 100644 index 000000000000..6e7b65f08492 --- /dev/null +++ b/net-wireless/gnuradio/files/gnuradio-3.10.12.0-boost-1.89.patch @@ -0,0 +1,43 @@ +From a166bdf73d3e3bfd362c239bbd58852faaad39c4 Mon Sep 17 00:00:00 2001 +From: Michael Cho <[email protected]> +Date: Mon, 11 Aug 2025 22:04:59 -0400 +Subject: [PATCH] cmake: fix build with Boost 1.89.0 + +Boost.System has been header-only since Boost 1.69 and will be dropping +the compatibility stub library in Boost 1.89 (boostorg/system@7a495bb). +Since GNU Radio uses Boost >= 1.69, the easy fix is to drop `system` +from the `COMPONENTS` as recommended by upstream: +`https://github.com/boostorg/system/issues/132#issuecomment-3146378680` + +Signed-off-by: Michael Cho <[email protected]> +--- + cmake/Modules/GnuradioConfig.cmake.in | 2 +- + cmake/Modules/GrBoost.cmake | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/Modules/GnuradioConfig.cmake.in b/cmake/Modules/GnuradioConfig.cmake.in +index 35042b74e95..91018562d57 100644 +--- a/cmake/Modules/GnuradioConfig.cmake.in ++++ b/cmake/Modules/GnuradioConfig.cmake.in +@@ -13,7 +13,7 @@ list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}") + find_dependency(spdlog) + find_dependency(MPLIB) + +-set(BOOST_REQUIRED_COMPONENTS date_time program_options system regex thread) ++set(BOOST_REQUIRED_COMPONENTS date_time program_options regex thread) + + if(NOT ENABLE_TESTING) + set(ENABLE_TESTING +diff --git a/cmake/Modules/GrBoost.cmake b/cmake/Modules/GrBoost.cmake +index 580d7100621..c7d85355284 100644 +--- a/cmake/Modules/GrBoost.cmake ++++ b/cmake/Modules/GrBoost.cmake +@@ -14,7 +14,7 @@ set(__INCLUDED_GR_BOOST_CMAKE TRUE) + # Setup Boost and handle some system specific things + ######################################################################## + +-set(BOOST_REQUIRED_COMPONENTS date_time program_options system regex thread) ++set(BOOST_REQUIRED_COMPONENTS date_time program_options regex thread) + + if(UNIX + AND NOT BOOST_ROOT diff --git a/net-wireless/gnuradio/gnuradio-3.10.12.0-r2.ebuild b/net-wireless/gnuradio/gnuradio-3.10.12.0-r2.ebuild index 88eb460ff3cb..048da49c01d7 100644 --- a/net-wireless/gnuradio/gnuradio-3.10.12.0-r2.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.10.12.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -133,6 +133,8 @@ DEPEND="${RDEPEND} zeromq? ( net-libs/cppzmq ) " +PATCHES=( "${FILESDIR}/${P}-boost-1.89.patch" ) # bug 969063 + src_prepare() { xdg_environment_reset #534582
