mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
11 lines
556 B
C++
11 lines
556 B
C++
--- src/slic3r/GUI/GUI.hpp.orig 2024-12-20 11:54:34 UTC
|
|
+++ src/slic3r/GUI/GUI.hpp
|
|
@@ -74,7 +74,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[]);
|