ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp
zielonka michal 79e5fba255 cad/PrusaSlicer: update to 2.6.0
PR:		272730
Reported by:	michal.zielonka.8001@gmail.com
Approved by:	teodorsigaev@gmail.com (maintainer)
2023-07-28 14:47:57 +02:00

11 lines
471 B
C++

--- src/slic3r/GUI/RemovableDriveManager.cpp.orig 2023-07-25 12:47:49 UTC
+++ src/slic3r/GUI/RemovableDriveManager.cpp
@@ -738,7 +738,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