ports/cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp
Michael Zhilin c4fa8a7ea8 cad/PrusaSlicer: update to 2.7.2
Reported by: Teodor Sigaev <teodorsigaev@gmail.com>
Reviewed by: lwhsu (mentor)
Sponsored by: Postgres Professional
Differential Revision: https://reviews.freebsd.org/D44315
2024-03-28 22:34:58 +03:00

13 lines
526 B
C++

--- src/libslic3r/Platform.cpp.orig 2023-12-12 14:21:21 UTC
+++ src/libslic3r/Platform.cpp
@@ -90,6 +90,10 @@ void detect_platform()
BOOST_LOG_TRIVIAL(info) << "Platform: OpenBSD";
s_platform = Platform::BSDUnix;
s_platform_flavor = PlatformFlavor::OpenBSD;
+#elif defined(__FreeBSD__)
+ BOOST_LOG_TRIVIAL(info) << "Platform: FreeBSD";
+ s_platform = Platform::BSDUnix;
+ s_platform_flavor = PlatformFlavor::FreeBSD;
#else
// This should not happen.
BOOST_LOG_TRIVIAL(info) << "Platform: Unknown";