freebsd-ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp
teodorsigaev@gmail.com 9f755ee624 cad/PrusaSlicer: update to 2.8.0
PR:		280112
Reported by:	teodorsigaev@gmail.com (maintainer)
2024-07-09 09:07:35 +02:00

11 lines
471 B
C++

--- src/slic3r/GUI/RemovableDriveManager.cpp.orig 2024-06-27 09:25:47 UTC
+++ src/slic3r/GUI/RemovableDriveManager.cpp
@@ -743,7 +743,7 @@ namespace search_for_drives_internal
//confirms if the file is removable drive and adds it to vector
if (
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
// Chromium mounts removable drives in a way that produces the same device ID.
platform_flavor() == PlatformFlavor::LinuxOnChromium ||
#endif