aboutsummaryrefslogtreecommitdiff
path: root/games/colobot/files/patch-src_common_system_system.cpp
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2021-12-04 19:54:49 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2021-12-04 19:57:13 +0000
commitbb8f1127a412e69f9fd9295f75a8f16160ba55bf (patch)
treeb66b18fbc160546decba70261addf2b26ccaac5c /games/colobot/files/patch-src_common_system_system.cpp
parentde775f189edd6af3112d6a2c409e66eec227e2c7 (diff)
downloadports-bb8f1127a412e69f9fd9295f75a8f16160ba55bf.tar.gz
ports-bb8f1127a412e69f9fd9295f75a8f16160ba55bf.zip
games/colobot: update to 0.2.0-alpha
Remove stale patch.
Diffstat (limited to 'games/colobot/files/patch-src_common_system_system.cpp')
-rw-r--r--games/colobot/files/patch-src_common_system_system.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/colobot/files/patch-src_common_system_system.cpp b/games/colobot/files/patch-src_common_system_system.cpp
new file mode 100644
index 000000000000..88d93b0e2ee7
--- /dev/null
+++ b/games/colobot/files/patch-src_common_system_system.cpp
@@ -0,0 +1,20 @@
+--- src/common/system/system.cpp.orig 2021-08-21 20:57:34 UTC
++++ src/common/system/system.cpp
+@@ -24,7 +24,7 @@
+
+ #if defined(PLATFORM_WINDOWS)
+ #include "common/system/system_windows.h"
+-#elif defined(PLATFORM_LINUX)
++#elif defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
+ #include "common/system/system_linux.h"
+ #elif defined(PLATFORM_MACOSX)
+ #include "common/system/system_macosx.h"
+@@ -43,7 +43,7 @@ std::unique_ptr<CSystemUtils> CSystemUtils::Create()
+ std::unique_ptr<CSystemUtils> instance;
+ #if defined(PLATFORM_WINDOWS)
+ instance = MakeUnique<CSystemUtilsWindows>();
+-#elif defined(PLATFORM_LINUX)
++#elif defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
+ instance = MakeUnique<CSystemUtilsLinux>();
+ #elif defined(PLATFORM_MACOSX)
+ instance = MakeUnique<CSystemUtilsMacOSX>();