mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
- Some port cleanup [2] - Whitespace fixes - Remove duplicate and unused depends - Add missing depends - Use WX_CONFIG properly - Support FHS - Switch to PORTDATA - Install .desktop files into proper location - Fix compatibility with 11.x PR: 252611 Submitted by: teodorsigaev@gmail.com (maintainer) [1], amdmi3 [2]
20 lines
556 B
C++
20 lines
556 B
C++
--- src/slic3r/GUI/InstanceCheck.cpp.orig 2021-01-11 13:01:51 UTC
|
|
+++ src/slic3r/GUI/InstanceCheck.cpp
|
|
@@ -23,7 +23,7 @@
|
|
#include <strsafe.h>
|
|
#endif //WIN32
|
|
|
|
-#if __linux__
|
|
+#if defined(__linux__) || defined (__FreeBSD__)
|
|
#include <dbus/dbus.h> /* Pull in all of D-Bus headers. */
|
|
#endif //__linux__
|
|
|
|
@@ -169,7 +169,7 @@ namespace instance_check_internal
|
|
return false;
|
|
}
|
|
|
|
-#elif defined(__linux__)
|
|
+#elif defined(__linux__) || defined (__FreeBSD__)
|
|
|
|
static bool send_message(const std::string &message_text, const std::string &version)
|
|
{
|