dev-db/pgagent: fix build with boost-1.89

Closes: https://bugs.gentoo.org/963777
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/44202
Closes: https://github.com/gentoo/gentoo/pull/44202
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte 2025-10-16 19:06:41 +02:00 committed by Sam James
parent 2225b47f20
commit 4836e4be90
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Bug: https://bugs.gentoo.org/963777
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -105,7 +105,7 @@ SET (Boost_DEBUG FALSE)
SET (Boost_USE_MULTITHREADED ${BOOST_MULTITHREADED_BUILD})
SET (Boost_USE_STATIC_LIBS ${BOOST_STATIC_BUILD})
-FIND_PACKAGE(Boost COMPONENTS filesystem regex date_time thread system)
+FIND_PACKAGE(Boost COMPONENTS filesystem regex date_time thread OPTIONAL_COMPONENTS system)
if(Boost_FOUND)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

View File

@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
PATCHES=( PATCHES=(
"${FILESDIR}"/${PN}-4.2.3-cmake-4.patch "${FILESDIR}"/${PN}-4.2.3-cmake-4.patch
"${FILESDIR}"/${PN}-4.2.3-boost-1.89.patch
) )
src_prepare() { src_prepare() {