commit:     fbe16421e899857da77d9818a787706609875771
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 20 23:07:38 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 23:10:32 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe16421

sci-libs/pcl: Fix build w/ boost-1.89

Closes: https://bugs.gentoo.org/969081
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch | 23 +++++++++++++++++++++++
 sci-libs/pcl/pcl-1.14.1-r2.ebuild              |  4 ++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch 
b/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch
new file mode 100644
index 000000000000..c7a11626a27c
--- /dev/null
+++ b/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch
@@ -0,0 +1,23 @@
+--- a/cmake/pcl_find_boost.cmake
++++ b/cmake/pcl_find_boost.cmake
+@@ -19,16 +19,16 @@
+   # Optional boost modules
+   set(BOOST_OPTIONAL_MODULES serialization mpi)
+   # Required boost modules
+-  set(BOOST_REQUIRED_MODULES filesystem iostreams system)
++  set(BOOST_REQUIRED_MODULES filesystem iostreams)
+ else()
+   # Optional boost modules
+   set(BOOST_OPTIONAL_MODULES filesystem serialization mpi)
+   # Required boost modules
+-  set(BOOST_REQUIRED_MODULES iostreams system)
++  set(BOOST_REQUIRED_MODULES iostreams)
+ endif()
+ 
+-find_package(Boost 1.65.0 QUIET COMPONENTS ${BOOST_OPTIONAL_MODULES})
+-find_package(Boost 1.65.0 REQUIRED COMPONENTS ${BOOST_REQUIRED_MODULES})
++find_package(Boost 1.69.0 QUIET COMPONENTS ${BOOST_OPTIONAL_MODULES})
++find_package(Boost 1.69.0 REQUIRED COMPONENTS ${BOOST_REQUIRED_MODULES})
+ 
+ if(Boost_FOUND)
+   set(BOOST_FOUND TRUE)

diff --git a/sci-libs/pcl/pcl-1.14.1-r2.ebuild 
b/sci-libs/pcl/pcl-1.14.1-r2.ebuild
index 217d87752bc7..cdae584b678a 100644
--- a/sci-libs/pcl/pcl-1.14.1-r2.ebuild
+++ b/sci-libs/pcl/pcl-1.14.1-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
@@ -72,7 +72,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.14.1-gcc15.patch
        "${FILESDIR}"/${PN}-1.14.1-tests.patch
        "${FILESDIR}"/${PN}-1.14.1-boost.patch
-       "${FILESDIR}"/${PN}-1.14.1-boost-1.87.patch
+       "${FILESDIR}"/${PN}-1.14.1-boost-1.{87,89}.patch
 )
 
 src_prepare() {

Reply via email to