summaryrefslogtreecommitdiff
path: root/community/simutrans/path-for-game-data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/simutrans/path-for-game-data.patch')
-rw-r--r--community/simutrans/path-for-game-data.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/community/simutrans/path-for-game-data.patch b/community/simutrans/path-for-game-data.patch
deleted file mode 100644
index ac2b41407..000000000
--- a/community/simutrans/path-for-game-data.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-look in /usr/share/games/simutrans for game data
-
-@DPATCH@
-
---- simutrans.orig/simmain.cc
-+++ simutrans/simmain.cc
-@@ -437,8 +437,9 @@
- strcat( umgebung_t::program_dir, path_sep );
- }
- else {
-- strcpy( umgebung_t::program_dir, argv[0] );
-- *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ // strcpy( umgebung_t::program_dir, argv[0] );
-+ // *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ strcpy(umgebung_t::program_dir, "/usr/share/games/simutrans/");
-
- chdir( umgebung_t::program_dir );
- }