mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
fHeroes2: bump version
This commit is contained in:
@@ -7,7 +7,7 @@ COPYRIGHT="2006-2021 fheroes2 team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/ihhub/fheroes2/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="564a117ad8d03bb51e85ff6e94a7c038a763a9b3371f58bc55b9b66cc4531050"
|
||||
CHECKSUM_SHA256="afd56848083a28effcc8eb5a10983abe27f8ec8a469f470b04317e822ac27cb4"
|
||||
SOURCE_DIR="fheroes2-$portVersion"
|
||||
srcGitRev2="4f376fe483a6881a44d2565c98a81b3c5c72daad"
|
||||
SOURCE_URI_2="https://github.com/EXL/BeGameLauncher/archive/$srcGitRev2.tar.gz"
|
||||
@@ -1,6 +1,6 @@
|
||||
From 4ae009d7f9a3d47419d07229b7b9acdbf9f909db Mon Sep 17 00:00:00 2001
|
||||
From 3ce0b2aa74df8c8e32b15d5cf66665b5555961aa Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Thu, 11 Nov 2021 19:30:25 +1000
|
||||
Date: Sun, 26 Dec 2021 11:50:09 +1000
|
||||
Subject: Fix build for Haiku
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ index 7d1fa27..7a194c3 100644
|
||||
|
||||
#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ )
|
||||
diff --git a/src/engine/system.cpp b/src/engine/system.cpp
|
||||
index 58aed09..9006399 100644
|
||||
index 853206c..8bc6354 100644
|
||||
--- a/src/engine/system.cpp
|
||||
+++ b/src/engine/system.cpp
|
||||
@@ -24,6 +24,11 @@
|
||||
#include <cstdlib>
|
||||
#include <fstream>
|
||||
@@ -26,6 +26,11 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
+#if defined( __HAIKU__ )
|
||||
+#include <Path.h>
|
||||
@@ -33,7 +33,7 @@ index 58aed09..9006399 100644
|
||||
#if defined( ANDROID ) || defined( _MSC_VER )
|
||||
#include <clocale>
|
||||
#endif
|
||||
@@ -127,6 +132,11 @@ std::string System::GetConfigDirectory( const std::string & prog )
|
||||
@@ -138,6 +143,11 @@ std::string System::GetConfigDirectory( const std::string & prog )
|
||||
|
||||
return std::string();
|
||||
#else
|
||||
@@ -45,7 +45,7 @@ index 58aed09..9006399 100644
|
||||
return GetHomeDirectory( prog );
|
||||
#endif
|
||||
}
|
||||
@@ -146,6 +156,11 @@ std::string System::GetDataDirectory( const std::string & prog )
|
||||
@@ -157,6 +167,11 @@ std::string System::GetDataDirectory( const std::string & prog )
|
||||
|
||||
return std::string();
|
||||
#else
|
||||
@@ -58,10 +58,10 @@ index 58aed09..9006399 100644
|
||||
#endif
|
||||
}
|
||||
diff --git a/src/fheroes2/CMakeLists.txt b/src/fheroes2/CMakeLists.txt
|
||||
index f209934..e53a94c 100644
|
||||
index 0f9b8c8..e47fcd3 100644
|
||||
--- a/src/fheroes2/CMakeLists.txt
|
||||
+++ b/src/fheroes2/CMakeLists.txt
|
||||
@@ -46,4 +46,8 @@ target_link_libraries(fheroes2
|
||||
@@ -45,4 +45,8 @@ target_link_libraries(fheroes2
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user