summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2020-06-08 02:11:40 +0300
committerStefan Strogin <steils@gentoo.org>2020-06-08 02:17:32 +0300
commitc4d5afb9e7beb83378586c3962f8d4643b7ed6f9 (patch)
treebb76edc605fe9032c005b82360e55200de168ed0 /games-roguelike/moria/files
parentdev-util/idea-community: Version bump (diff)
downloadgentoo-c4d5afb9e7beb83378586c3962f8d4643b7ed6f9.tar.gz
gentoo-c4d5afb9e7beb83378586c3962f8d4643b7ed6f9.tar.bz2
gentoo-c4d5afb9e7beb83378586c3962f8d4643b7ed6f9.zip
games-roguelike/moria: don't install license; read it from /usr/portage/
And install files from ${build_dir} which is umoria/, not data/, otherwise splash.txt and versions.txt are not installed. It changes the installed files, so bump the revision. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'games-roguelike/moria/files')
-rw-r--r--games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch (renamed from games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch)8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch b/games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch
index 0d17c549e773..a5ae834413d7 100644
--- a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
+++ b/games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch
@@ -1,8 +1,8 @@
diff --git a/src/config.cpp b/src/config.cpp
-index 09528f7..1c299ed 100644
+index 36f565b..bfe1b18 100644
--- a/src/config.cpp
+++ b/src/config.cpp
-@@ -12,17 +12,17 @@ namespace config {
+@@ -13,17 +13,17 @@ namespace config {
// Data files used by Umoria
// NOTE: use relative paths to the executable binary.
namespace files {
@@ -19,7 +19,7 @@ index 09528f7..1c299ed 100644
- 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 license = "/usr/portage/licenses/GPL-2";
+ 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";
@@ -29,5 +29,5 @@ index 09528f7..1c299ed 100644
+ 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";
- }
+ } // namespace files