diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-06-06 15:54:57 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-06-06 15:54:57 +0000 |
commit | 0ab76735dc6b38ccc38049f466bfd5912fea688e (patch) | |
tree | 266fef7eff13f5868b58ec455ad6d545e4c40ad0 /games/multimc/files/patch-api_logic_minecraft_OpSys.cpp | |
parent | Remove expired port: (diff) |
New port: games/multimc
MultiMC is a custom launcher for Minecraft that allows you to easily
manage multiple installations of Minecraft at once. It also allows
you to easily install and remove mods by simply dragging and dropping.
WWW: https://multimc.org
PR: 224823
Submitted by: tsundoku <me@tsundoku.ne.jp> (based on)
Diffstat (limited to 'games/multimc/files/patch-api_logic_minecraft_OpSys.cpp')
-rw-r--r-- | games/multimc/files/patch-api_logic_minecraft_OpSys.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp b/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp new file mode 100644 index 000000000000..923ba7be914b --- /dev/null +++ b/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp @@ -0,0 +1,27 @@ +--- api/logic/minecraft/OpSys.cpp.orig 2017-12-18 00:19:43 UTC ++++ api/logic/minecraft/OpSys.cpp +@@ -17,6 +17,8 @@ + + OpSys OpSys_fromString(QString name) + { ++ if (name == "freebsd") ++ return Os_FreeBSD; + if (name == "linux") + return Os_Linux; + if (name == "windows") +@@ -30,6 +32,8 @@ QString OpSys_toString(OpSys name) + { + switch (name) + { ++ case Os_FreeBSD: ++ return "freebsd"; + case Os_Linux: + return "linux"; + case Os_OSX: +@@ -39,4 +43,4 @@ QString OpSys_toString(OpSys name) + default: + return "other"; + } +-} +\ No newline at end of file ++} |