From 34b309d2e6f57a0652da9422abeb2965e74f2b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:35 +0700 Subject: [PATCH] openvdb: for boost-1.89 --- srcpkgs/openvdb/patches/boost-1.89.patch | 40 ++++++++++++++++++++++++ srcpkgs/openvdb/template | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/openvdb/patches/boost-1.89.patch diff --git a/srcpkgs/openvdb/patches/boost-1.89.patch b/srcpkgs/openvdb/patches/boost-1.89.patch new file mode 100644 index 00000000000..56787edadb6 --- /dev/null +++ b/srcpkgs/openvdb/patches/boost-1.89.patch @@ -0,0 +1,40 @@ +--- a/openvdb/openvdb/CMakeLists.txt ++++ b/openvdb/openvdb/CMakeLists.txt +@@ -117,7 +117,7 @@ if(OPENVDB_CORE_SHARED AND NOT Boost_USE + set(Boost_USE_STATIC_LIBS OFF) + endif() + +-find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS iostreams system) ++find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS iostreams) + if(OPENVDB_FUTURE_DEPRECATION AND FUTURE_MINIMUM_BOOST_VERSION) + # The X.Y.Z boost version value isn't available until CMake 3.14 + set(FULL_BOOST_VERSION "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") +@@ -251,8 +251,7 @@ endif() + # other headers. + + list(APPEND OPENVDB_CORE_DEPENDENT_LIBS +- Boost::iostreams +- Boost::system) ++ Boost::iostreams) + + if(WIN32) + # Boost headers contain #pragma commands on Windows which causes Boost +--- a/cmake/FindOpenVDB.cmake ++++ b/cmake/FindOpenVDB.cmake +@@ -496,7 +496,7 @@ if(NOT OPENVDB_USE_STATIC_LIBS AND NOT B + set(Boost_USE_STATIC_LIBS OFF) + endif() + +-find_package(Boost REQUIRED COMPONENTS iostreams system) ++find_package(Boost REQUIRED COMPONENTS iostreams) + + # Add deps for pyopenvdb + # @todo track for numpy +@@ -673,7 +673,6 @@ endif() + + set(_OPENVDB_VISIBLE_DEPENDENCIES + Boost::iostreams +- Boost::system + ) + + if(OpenVDB_USES_IMATH_HALF) diff --git a/srcpkgs/openvdb/template b/srcpkgs/openvdb/template index a9bacaf3a07..be8bb262eb8 100644 --- a/srcpkgs/openvdb/template +++ b/srcpkgs/openvdb/template @@ -1,7 +1,7 @@ # Template file for 'openvdb' pkgname=openvdb version=9.0.0 -revision=10 +revision=11 build_style=cmake configure_args="-DOPENVDB_BUILD_VDB_VIEW=1" hostmakedepends="pkg-config"