initial import
This commit is contained in:
15
freeorion/fix-directories.patch
Normal file
15
freeorion/fix-directories.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/util/Directories.cpp 2021-08-01 13:40:55.000000000 +0200
|
||||
+++ b/util/Directories.cpp 2021-09-03 16:45:51.397237877 +0200
|
||||
@@ -290,9 +290,9 @@
|
||||
|
||||
const fs::path GetRootDataDir() {
|
||||
if (!g_initialized) InitDirs("");
|
||||
- char* dir_name = br_find_data_dir(SHAREPATH);
|
||||
- fs::path p(dir_name);
|
||||
- std::free(dir_name);
|
||||
+ //char* dir_name = br_find_data_dir(SHAREPATH);
|
||||
+ fs::path p("/usr/share/games");
|
||||
+ //std::free(dir_name);
|
||||
p /= "freeorion";
|
||||
// if the path does not exist, we fall back to the working directory
|
||||
if (!exists(p)) {
|
||||
Reference in New Issue
Block a user