summaryrefslogtreecommitdiff
path: root/cad/cura-engine
diff options
context:
space:
mode:
Diffstat (limited to 'cad/cura-engine')
-rw-r--r--cad/cura-engine/Makefile6
-rw-r--r--cad/cura-engine/files/patch-include_utils_format_filesystem__path.h11
2 files changed, 15 insertions, 2 deletions
diff --git a/cad/cura-engine/Makefile b/cad/cura-engine/Makefile
index 71b7b15089fb..eda8471a8cdd 100644
--- a/cad/cura-engine/Makefile
+++ b/cad/cura-engine/Makefile
@@ -1,6 +1,6 @@
PORTNAME= CuraEngine
PORTVERSION= 5.7.0
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= cad
DIST_SUBDIR= Ultimaker
@@ -15,7 +15,9 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/uuid/uuid.hpp:devel/boost-libs \
${LOCALBASE}/include/fmt/format.h:devel/libfmt \
${LOCALBASE}/include/range/v3/range.hpp:devel/range-v3 \
${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson
-LIB_DEPENDS= libArcus.so:net/libarcus \
+LIB_DEPENDS= libabsl_log_internal_message.so:devel/abseil \
+ libArcus.so:net/libarcus \
+ libfmt.so:devel/libfmt \
libpolyclipping.so:graphics/polyclipping \
libprotobuf.so:devel/protobuf \
libspdlog.so:devel/spdlog
diff --git a/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h b/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h
new file mode 100644
index 000000000000..430fcd516f0a
--- /dev/null
+++ b/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h
@@ -0,0 +1,11 @@
+--- include/utils/format/filesystem_path.h.orig 2024-04-02 12:26:14 UTC
++++ include/utils/format/filesystem_path.h
+@@ -30,7 +30,7 @@ struct formatter<std::filesystem::path> : formatter<st
+ }
+
+ template<typename FormatContext>
+- auto format(const std::filesystem::path& path, FormatContext& ctx)
++ auto format(const std::filesystem::path& path, FormatContext& ctx) const
+ {
+ return formatter<string_view>::format(anonymizePath(path.generic_string()), ctx);
+ }