aboutsummaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer
diff options
context:
space:
mode:
Diffstat (limited to 'cad/PrusaSlicer')
-rw-r--r--cad/PrusaSlicer/Makefile6
-rw-r--r--cad/PrusaSlicer/files/patch-cmake_modules_FindOpenVDB.cmake7
2 files changed, 9 insertions, 4 deletions
diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile
index 8af495340343..e1ce04fab6a4 100644
--- a/cad/PrusaSlicer/Makefile
+++ b/cad/PrusaSlicer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX=version_
DISTVERSION= 2.9.2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= cad
DIST_SUBDIR= PrusaSlicer
@@ -65,7 +65,11 @@ CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \
-Wno-dev
PORTDATA= *
+
post-patch:
${MKDIR} ${WRKSRC}/bundled_deps/hidapi/libusb
${CP} ${FILESDIR}/hid.c ${WRKSRC}/bundled_deps/hidapi/libusb/hid.c
+ @${REINPLACE_CMD} -e '/_boost_/s|system;||' \
+ ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>
diff --git a/cad/PrusaSlicer/files/patch-cmake_modules_FindOpenVDB.cmake b/cad/PrusaSlicer/files/patch-cmake_modules_FindOpenVDB.cmake
index 142237d5aafd..ed9e56e6f1f3 100644
--- a/cad/PrusaSlicer/files/patch-cmake_modules_FindOpenVDB.cmake
+++ b/cad/PrusaSlicer/files/patch-cmake_modules_FindOpenVDB.cmake
@@ -39,7 +39,7 @@
endif()
if(OpenVDB_USES_EXR)
-@@ -463,7 +451,7 @@ endif()
+@@ -463,15 +451,15 @@ endif()
endif()
# Set deps. Note that the order here is important. If we're building against
@@ -48,10 +48,11 @@
# users chosen namespaced headers are correctly prioritized. Otherwise other
# include paths from shared installs (including houdini) may pull in the wrong
# headers
-@@ -471,7 +459,7 @@ set(_OPENVDB_VISIBLE_DEPENDENCIES
+
set(_OPENVDB_VISIBLE_DEPENDENCIES
++ Boost::filesystem
Boost::iostreams
- Boost::system
+- Boost::system
- IlmBase::Half
+ Imath::Imath
)