commit:     4836e4be90aafb3f8c55856b568257b2e18dfbe8
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Thu Oct 16 17:06:41 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 15:07:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4836e4be

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

Closes: https://bugs.gentoo.org/963777
Signed-off-by: Holger Hoffstätte <holger <AT> 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 <AT> gentoo.org>

 dev-db/pgagent/files/pgagent-4.2.3-boost-1.89.patch | 13 +++++++++++++
 dev-db/pgagent/pgagent-4.2.3-r1.ebuild              |  1 +
 2 files changed, 14 insertions(+)

diff --git a/dev-db/pgagent/files/pgagent-4.2.3-boost-1.89.patch 
b/dev-db/pgagent/files/pgagent-4.2.3-boost-1.89.patch
new file mode 100644
index 000000000000..e23d4c9f2d7b
--- /dev/null
+++ b/dev-db/pgagent/files/pgagent-4.2.3-boost-1.89.patch
@@ -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})

diff --git a/dev-db/pgagent/pgagent-4.2.3-r1.ebuild 
b/dev-db/pgagent/pgagent-4.2.3-r1.ebuild
index a6a2c59bfe4e..b32c85448ef3 100644
--- a/dev-db/pgagent/pgagent-4.2.3-r1.ebuild
+++ b/dev-db/pgagent/pgagent-4.2.3-r1.ebuild
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.2.3-cmake-4.patch
+       "${FILESDIR}"/${PN}-4.2.3-boost-1.89.patch
 )
 
 src_prepare() {

Reply via email to