diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-05 11:40:51 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-05 11:40:51 +0000 |
commit | 696f7f2eb4df721f36689fe987b002b276bd7ea3 (patch) | |
tree | 0b0cc83c9228930a97949b3b5c4110afb797586f /games-puzzle/mures/files | |
parent | removed patch again, other programs dont like it (diff) | |
download | historical-696f7f2eb4df721f36689fe987b002b276bd7ea3.tar.gz historical-696f7f2eb4df721f36689fe987b002b276bd7ea3.tar.bz2 historical-696f7f2eb4df721f36689fe987b002b276bd7ea3.zip |
Initial import. Ebuild by Alexandru Toma <flash3001@yahoo.com>. Closing bug #52723.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-puzzle/mures/files')
-rw-r--r-- | games-puzzle/mures/files/digest-mures-0.5 | 1 | ||||
-rw-r--r-- | games-puzzle/mures/files/mures-0.5-save.patch | 20 | ||||
-rw-r--r-- | games-puzzle/mures/files/mures-0.5-screenshot.patch | 12 |
3 files changed, 33 insertions, 0 deletions
diff --git a/games-puzzle/mures/files/digest-mures-0.5 b/games-puzzle/mures/files/digest-mures-0.5 new file mode 100644 index 000000000000..2c706483e235 --- /dev/null +++ b/games-puzzle/mures/files/digest-mures-0.5 @@ -0,0 +1 @@ +MD5 ab2061af131b330d197f947623bf74c4 mures-0.5.tar.gz 638528 diff --git a/games-puzzle/mures/files/mures-0.5-save.patch b/games-puzzle/mures/files/mures-0.5-save.patch new file mode 100644 index 000000000000..20abd91308b6 --- /dev/null +++ b/games-puzzle/mures/files/mures-0.5-save.patch @@ -0,0 +1,20 @@ +--- gi_sdl.c.orig 2004-06-01 21:51:58.000000000 +0300 ++++ gi_sdl.c 2004-06-01 22:13:59.000000000 +0300 +@@ -606,6 +606,7 @@ + { + int i,found; + gi_sdl_data *data = &GI; ++ char temp_path[70]; + + switch(e.type) { + +@@ -714,7 +715,8 @@ + sim_start(&g->sim); + break; + case SDLK_F6: +- map_save(&g->sim.map, "saved.mus"); ++ sprintf(temp_path, "%s/saved.mus", getenv("HOME")); ++ map_save(&g->sim.map, temp_path); + break; + case SDLK_F1: + game_restart(g); diff --git a/games-puzzle/mures/files/mures-0.5-screenshot.patch b/games-puzzle/mures/files/mures-0.5-screenshot.patch new file mode 100644 index 000000000000..992556346acb --- /dev/null +++ b/games-puzzle/mures/files/mures-0.5-screenshot.patch @@ -0,0 +1,12 @@ +--- output.c.orig 2004-06-01 21:59:57.000000000 +0300 ++++ output.c 2004-06-01 22:04:50.000000000 +0300 +@@ -215,7 +215,8 @@ + + void output_screenshot() + { +- char *l = "shot.bmp"; ++ char l[70]; ++ sprintf(l, "%s/mures_shot.bmp", getenv("HOME")); + SDL_SaveBMP(screen, l); + printf("Screenshot saved to %s.\n", l); + } |