mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
PR: 272730 Reported by: michal.zielonka.8001@gmail.com Approved by: teodorsigaev@gmail.com (maintainer)
11 lines
471 B
C++
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
|