summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-06 04:37:33 +0100
committerSam James <sam@gentoo.org>2021-04-06 19:18:28 +0100
commit0d13fb532671b2e609decbcc48d11344b76f4520 (patch)
treed6dc5aa60a8b2e5fc7f49b07435b3cbf503003ea /games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
parentprofiles/prefix/darwin/macos/features/fsf-gcc-ld64: mask media-libs/libsdl[so... (diff)
downloadgentoo-0d13fb532671b2e609decbcc48d11344b76f4520.tar.gz
gentoo-0d13fb532671b2e609decbcc48d11344b76f4520.tar.bz2
gentoo-0d13fb532671b2e609decbcc48d11344b76f4520.zip
games-strategy/galaxyhack: port to EAPI 7, tidy up games.eclass remnants
We tidy up games.eclass remnants from a patch just in case. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch')
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
index 7c60c4efa624..01283c5ab50f 100644
--- a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
+++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
@@ -1,11 +1,11 @@
---- a/Main.cpp.old 2006-07-28 00:04:46.000000000 +0200
-+++ b/Main.cpp 2006-07-28 00:08:28.000000000 +0200
+--- a/Main.cpp
++++ b/Main.cpp
@@ -184,7 +184,7 @@
- #ifndef WIN32
- string settingsPath = userHomePath + "settings.dat";
- if (!DoesFileExist(settingsPath))
-- settingsPath = "settings.dat";
-+ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
- #else
- string settingsPath = "settings.dat";
- #endif
+ #ifndef WIN32
+ string settingsPath = userHomePath + "settings.dat";
+ if (!DoesFileExist(settingsPath))
+- settingsPath = "settings.dat";
++ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
+ #else
+ string settingsPath = "settings.dat";
+ #endif