mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user