freebsd-ports/games/multimc/files/patch-api_logic_minecraft_MinecraftInstance.cpp
Steve Wills 63bab8f704 games/multimc: update to 0.6.5
PR:		236488
Submitted by:	tsundoku <me@tsundoku.ne.jp> (maintainer)
2019-03-18 17:53:39 +00:00

14 lines
430 B
C++

--- api/logic/minecraft/MinecraftInstance.cpp.orig 2019-03-08 14:41:15 UTC
+++ api/logic/minecraft/MinecraftInstance.cpp
@@ -161,7 +161,11 @@ QString MinecraftInstance::binRoot() const
QString MinecraftInstance::getNativePath() const
{
+#if defined(Q_OS_FREEBSD)
+ QDir natives_dir(LWJGL_DIR "/");
+#else
QDir natives_dir(FS::PathCombine(instanceRoot(), "natives/"));
+#endif
return natives_dir.absolutePath();
}