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

Closes: https://bugs.gentoo.org/968458
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-01-07 18:25:14 +01:00
parent b7f20e87f6
commit f2f5eb0807
2 changed files with 17 additions and 2 deletions

View File

@@ -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

View File

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