mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 01:20:31 -04:00
PR: 272730 Reported by: michal.zielonka.8001@gmail.com Approved by: teodorsigaev@gmail.com (maintainer)
20 lines
759 B
C++
20 lines
759 B
C++
--- src/slic3r/GUI/ConfigWizard.hpp.orig 2023-07-25 09:21:21 UTC
|
|
+++ src/slic3r/GUI/ConfigWizard.hpp
|
|
@@ -22,7 +22,7 @@ namespace DownloaderUtils {
|
|
wxWindow* m_parent{ nullptr };
|
|
wxTextCtrl* m_input_path{ nullptr };
|
|
bool downloader_checked{ false };
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
bool perform_registration_linux{ false };
|
|
#endif // __linux__
|
|
|
|
@@ -41,7 +41,7 @@ namespace DownloaderUtils {
|
|
|
|
bool on_finish();
|
|
bool perform_register(const std::string& path_override = {});
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
bool get_perform_registration_linux() { return perform_registration_linux; }
|
|
#endif // __linux__
|
|
};
|