mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
11 lines
407 B
C++
11 lines
407 B
C++
--- src/slic3r/Utils/AppUpdater.cpp.orig 2024-12-20 11:54:34 UTC
|
|
+++ src/slic3r/Utils/AppUpdater.cpp
|
|
@@ -157,7 +157,7 @@ AppUpdater::priv::priv() :
|
|
|
|
AppUpdater::priv::priv() :
|
|
m_cancel (false)
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
, m_default_dest_folder (boost::filesystem::path("/tmp"))
|
|
#else
|
|
, m_default_dest_folder (boost::filesystem::path(data_dir()) / "cache")
|