mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
ChangeLog: https://www.freshports.org/cad/PrusaSlicer/ PR: 267772 Reported by: teodorsigaev@gmail.com (maintainer)
13 lines
526 B
C++
13 lines
526 B
C++
--- src/libslic3r/Platform.cpp.orig 2022-09-06 07:09:19 UTC
|
|
+++ src/libslic3r/Platform.cpp
|
|
@@ -86,6 +86,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";
|