sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-14 00:49:35 +00:00
parent 9d4d2e721a
commit 79bc6d9d97
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
846 changed files with 10693 additions and 8131 deletions

View file

@ -0,0 +1,21 @@
Index: src/slic3r/GUI/InstanceCheck.cpp
--- src/slic3r/GUI/InstanceCheck.cpp.orig
+++ src/slic3r/GUI/InstanceCheck.cpp
@@ -23,7 +23,7 @@
#include <strsafe.h>
#endif //WIN32
-#if __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
#include <dbus/dbus.h> /* Pull in all of D-Bus headers. */
#endif //__linux__
@@ -222,7 +222,7 @@ namespace instance_check_internal
return false;
}
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__OpenBSD__)
static bool send_message(const std::string &message_text, const std::string &version)
{