summaryrefslogtreecommitdiffstats
path: root/games/multimc/files/patch-launcher_MultiMC.cpp
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-09-29 15:29:03 -0400
committerCameron Katri <me@cameronkatri.com>2021-09-29 15:39:40 -0400
commit0678403d9c7218138c2bc5cbf1bd92cc4d450adc (patch)
treee0dbd058bc63ec028cd5ecca412759d410c36f82 /games/multimc/files/patch-launcher_MultiMC.cpp
parentd2542bf926bbae3289282f0866f312104abcfb09 (diff)
downloadfreebsd-ports-0678403d9c7218138c2bc5cbf1bd92cc4d450adc.tar.gz
freebsd-ports-0678403d9c7218138c2bc5cbf1bd92cc4d450adc.tar.zst
freebsd-ports-0678403d9c7218138c2bc5cbf1bd92cc4d450adc.zip
Bunch of fixes
Diffstat (limited to 'games/multimc/files/patch-launcher_MultiMC.cpp')
-rw-r--r--games/multimc/files/patch-launcher_MultiMC.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/multimc/files/patch-launcher_MultiMC.cpp b/games/multimc/files/patch-launcher_MultiMC.cpp
new file mode 100644
index 0000000..10a72e5
--- /dev/null
+++ b/games/multimc/files/patch-launcher_MultiMC.cpp
@@ -0,0 +1,11 @@
+--- launcher/MultiMC.cpp.orig 2021-09-08 22:27:46 UTC
++++ launcher/MultiMC.cpp
+@@ -487,7 +487,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplicatio
+ // Set up paths
+ {
+ // Root path is used for updates.
+-#ifdef Q_OS_LINUX
++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+ QDir foo(FS::PathCombine(binPath, ".."));
+ m_rootPath = foo.absolutePath();
+ #elif defined(Q_OS_WIN32)