aboutsummaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp')
-rw-r--r--cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp b/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp
new file mode 100644
index 000000000000..2cdbdc481fb1
--- /dev/null
+++ b/cad/PrusaSlicer/files/patch-src_slic3r_GUI_RemovableDriveManager.cpp
@@ -0,0 +1,11 @@
+--- src/slic3r/GUI/RemovableDriveManager.cpp.orig 2023-12-12 14:21:21 UTC
++++ src/slic3r/GUI/RemovableDriveManager.cpp
+@@ -744,7 +744,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