summaryrefslogtreecommitdiff
path: root/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-10 15:40:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-10 15:40:27 +0000
commit6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (patch)
treecee0a97398040001220ece3cd48c3d568bcddb4a /games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
parent1db00cc6e94b90c08090bb5b8c406622946c4ae5 (diff)
gentoo resync : 10.02.2019
Diffstat (limited to 'games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch')
-rw-r--r--games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch b/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
new file mode 100644
index 000000000000..0d17c549e773
--- /dev/null
+++ b/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
@@ -0,0 +1,33 @@
+diff --git a/src/config.cpp b/src/config.cpp
+index 09528f7..1c299ed 100644
+--- a/src/config.cpp
++++ b/src/config.cpp
+@@ -12,17 +12,17 @@ namespace config {
+ // Data files used by Umoria
+ // NOTE: use relative paths to the executable binary.
+ namespace files {
+- const std::string splash_screen = "data/splash.txt";
+- const std::string welcome_screen = "data/welcome.txt";
+- const std::string license = "LICENSE";
+- const std::string versions_history = "data/versions.txt";
+- const std::string help = "data/help.txt";
+- const std::string help_wizard = "data/help_wizard.txt";
+- const std::string help_roguelike = "data/rl_help.txt";
+- const std::string help_roguelike_wizard = "data/rl_help_wizard.txt";
+- const std::string death_tomb = "data/death_tomb.txt";
+- const std::string death_royal = "data/death_royal.txt";
+- const std::string scores = "scores.dat";
++ const std::string splash_screen = "/usr/share/moria/splash.txt";
++ const std::string welcome_screen = "/usr/share/moria/welcome.txt";
++ const std::string license = "/usr/share/doc/@PF@/LICENSE";
++ const std::string versions_history = "/usr/share/moria/versions.txt";
++ const std::string help = "/usr/share/moria/help.txt";
++ const std::string help_wizard = "/usr/share/moria/help_wizard.txt";
++ const std::string help_roguelike = "/usr/share/moria/rl_help.txt";
++ const std::string help_roguelike_wizard = "/usr/share/moria/rl_help_wizard.txt";
++ const std::string death_tomb = "/usr/share/moria/death_tomb.txt";
++ const std::string death_royal = "/usr/share/moria/death_royal.txt";
++ const std::string scores = "/var/lib/moria/scores.dat";
+ std::string save_game = "game.sav";
+ }
+