diff options
Diffstat (limited to 'games-roguelike/scourge/files/0.10.1-datadir.patch')
-rw-r--r-- | games-roguelike/scourge/files/0.10.1-datadir.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-roguelike/scourge/files/0.10.1-datadir.patch b/games-roguelike/scourge/files/0.10.1-datadir.patch new file mode 100644 index 000000000000..ca300011bcff --- /dev/null +++ b/games-roguelike/scourge/files/0.10.1-datadir.patch @@ -0,0 +1,14 @@ +--- src/main.cpp.orig 2005-06-09 01:13:49.000000000 -0400 ++++ src/main.cpp 2005-07-30 22:44:03.000000000 -0400 +@@ -82,7 +82,11 @@ + rootDir = (char*)malloc( 300 * sizeof( char ) ); + strcpy( rootDir, "data" ); + #else ++#ifdef ENABLE_BINRELOC + rootDir = (char*)BR_DATADIR( "/data" ); ++#else ++ rootDir = DATA_DIR; ++#endif + #endif + cerr << "rootDir=" << rootDir << endl; + |