aboutsummaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp')
-rw-r--r--cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp b/cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp
new file mode 100644
index 000000000000..7a2ff6c43b2b
--- /dev/null
+++ b/cad/PrusaSlicer/files/patch-src_libslic3r_Platform.cpp
@@ -0,0 +1,13 @@
+--- 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";