diff options
Diffstat (limited to 'games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch')
-rw-r--r-- | games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch b/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch new file mode 100644 index 000000000000..cf242ed77945 --- /dev/null +++ b/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch @@ -0,0 +1,21 @@ +--- StepMania-3.9-rc3-src/src/RageFileManager.cpp 2004-09-06 03:36:12.000000000 -0600 ++++ StepMania-3.9-rc3-src/src/RageFileManager.cpp 2005-05-15 00:22:41.000000000 -0600 +@@ -154,7 +154,7 @@ + * scores. It would need to handle permissions properly. */ + /* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */ + +- // CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME; ++ CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE ); + + /* + * Next: path to write general mutable user data. If the above path fails (eg. +@@ -181,7 +181,8 @@ + if( Root == "" ) + RageException::Throw( "Couldn't find \"Songs\"" ); + +- RageFileManager::Mount( "dir", Root, "" ); ++ RageFileManager::Mount( "dir", Home, "" ); ++ RageFileManager::Mount( "dir", "/usr/share/games/stepmania", "" ); + #elif defined(_WINDOWS) + /* All Windows data goes in the directory one level above the executable. */ + CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) ); |