summaryrefslogtreecommitdiffstats
path: root/games/multimc/files/patch-launcher_FileSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/multimc/files/patch-launcher_FileSystem.cpp')
-rw-r--r--games/multimc/files/patch-launcher_FileSystem.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/multimc/files/patch-launcher_FileSystem.cpp b/games/multimc/files/patch-launcher_FileSystem.cpp
new file mode 100644
index 0000000..0543fae
--- /dev/null
+++ b/games/multimc/files/patch-launcher_FileSystem.cpp
@@ -0,0 +1,11 @@
+--- launcher/FileSystem.cpp.orig 2021-09-08 22:27:46 UTC
++++ launcher/FileSystem.cpp
+@@ -403,7 +403,7 @@ QString getDesktopDir()
+ bool createShortCut(QString location, QString dest, QStringList args, QString name,
+ QString icon)
+ {
+-#if defined Q_OS_LINUX
++#if defined Q_OS_LINUX || defined(Q_OS_FREEBSD)
+ location = PathCombine(location, name + ".desktop");
+
+ QFile f(location);