gentoo-ebuilds/dev-db/pgagent/files/pgagent-4.2.3-boost-1.89.patch
Holger Hoffstätte 4836e4be90
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>
2025-10-18 16:07:58 +01:00

13 lines
467 B
Diff

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})