ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_GUI.hpp
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
556 B
C++

--- src/slic3r/GUI/GUI.hpp.orig 2023-07-21 13:10:36 UTC
+++ src/slic3r/GUI/GUI.hpp
@@ -84,7 +84,7 @@ void desktop_open_folder(const boost::filesystem::path
// Ask the destop to open the directory specified by path using the default file explorer.
void desktop_open_folder(const boost::filesystem::path& path);
-#ifdef __linux__
+#if defined(__linux__) || defined (__FreeBSD__)
// Calling wxExecute on Linux with proper handling of AppImage's env vars.
// argv example: { "xdg-open", path.c_str(), nullptr }
void desktop_execute(const char* argv[]);