commit:     f2f5eb080753e891ac5e10408c9d3d31df0ea285
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  7 17:25:14 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan  7 19:15:52 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f5eb08

dev-libs/collada-dom: Fix build w/ boost-1.89

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

 dev-libs/collada-dom/collada-dom-2.5.0-r2.ebuild            |  6 ++++--
 .../collada-dom/files/collada-dom-2.5.0-boost-1.89.patch    | 13 +++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/dev-libs/collada-dom/collada-dom-2.5.0-r2.ebuild 
b/dev-libs/collada-dom/collada-dom-2.5.0-r2.ebuild
index dcc7c6b7f666..1b0e6a2f953b 100644
--- a/dev-libs/collada-dom/collada-dom-2.5.0-r2.ebuild
+++ b/dev-libs/collada-dom/collada-dom-2.5.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
@@ -27,7 +27,9 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}/${PN}-2.5.0-boost-1.85.patch" )
+PATCHES=(
+       "${FILESDIR}"/${P}-boost-1.{85,89}.patch # bugs 932316, 968458
+)
 
 src_configure() {
        # bug 618960

diff --git a/dev-libs/collada-dom/files/collada-dom-2.5.0-boost-1.89.patch 
b/dev-libs/collada-dom/files/collada-dom-2.5.0-boost-1.89.patch
new file mode 100644
index 000000000000..c74a6c743bfe
--- /dev/null
+++ b/dev-libs/collada-dom/files/collada-dom-2.5.0-boost-1.89.patch
@@ -0,0 +1,13 @@
+Source: 
https://build.opensuse.org/projects/graphics/packages/collada-dom/files/boost.patch
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -159,7 +159,7 @@
+ if( NOT $ENV{BOOST_LIBRARYDIR} STREQUAL "" )
+   set(Boost_LIBRARY_DIRS $ENV{BOOST_LIBRARYDIR})
+ endif()
+-find_package(Boost COMPONENTS filesystem system REQUIRED)
++find_package(Boost COMPONENTS filesystem REQUIRED)
+ 
+ message(STATUS "found boost version: ${Boost_VERSION}")
+ 

Reply via email to