Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes build because of newer Glibc incompatibility.
- Loading branch information
Showing
3 changed files
with
54 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff -ru3 source-old/src/core/datapaths.cpp source-new/src/core/datapaths.cpp | ||
--- source-old/src/core/datapaths.cpp 1970-01-01 03:00:01.000000000 +0300 | ||
+++ source-new/src/core/datapaths.cpp 2018-03-04 00:10:25.247262567 +0300 | ||
@@ -335,7 +335,7 @@ | ||
paths.append(workingDirectory()); | ||
paths.append("./"); | ||
#ifndef Q_OS_WIN32 | ||
- paths.append(INSTALL_PREFIX "/" INSTALL_LIBDIR "/doomseeker/"); | ||
+ paths.append(INSTALL_PREFIX "/lib/doomseeker/"); | ||
#endif | ||
paths = uniquePaths(paths); | ||
return Strings::combineManyPaths(paths, "engines/"); | ||
diff -ru3 source-old/src/core/pathfinder/pathfinder.cpp source-new/src/core/pathfinder/pathfinder.cpp | ||
--- source-old/src/core/pathfinder/pathfinder.cpp 1970-01-01 03:00:01.000000000 +0300 | ||
+++ source-new/src/core/pathfinder/pathfinder.cpp 2018-03-04 00:09:34.862556976 +0300 | ||
@@ -128,9 +128,7 @@ | ||
<< DataPaths::programFilesDirectory(DataPaths::x64) | ||
<< DataPaths::programFilesDirectory(DataPaths::x86); | ||
#else | ||
- paths << "/usr/bin" << "/usr/local/bin" << "/usr/share/bin" | ||
- << "/usr/games/" << "/usr/local/games/" | ||
- << "/usr/share/games/" << gDefaultDataPaths->workingDirectory() << "."; | ||
+ paths << gDefaultDataPaths->workingDirectory() << "."; | ||
#endif | ||
QStringList pathsCopy(paths); | ||
foreach (const QString &path, pathsCopy) | ||
diff -ru3 source-old/src/core/pathfinder/wadpathfinder.cpp source-new/src/core/pathfinder/wadpathfinder.cpp | ||
--- source-old/src/core/pathfinder/wadpathfinder.cpp 1970-01-01 03:00:01.000000000 +0300 | ||
+++ source-new/src/core/pathfinder/wadpathfinder.cpp 2018-03-04 00:09:56.822865339 +0300 | ||
@@ -84,10 +84,6 @@ | ||
QStringList defaultPaths() | ||
{ | ||
QStringList paths; | ||
- #ifdef Q_OS_UNIX | ||
- paths << "/usr/local/share/games/doom/" | ||
- << "/usr/share/games/doom/"; | ||
- #endif | ||
return paths; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters