diff options
-rw-r--r-- | games/sarien/distinfo | 3 | ||||
-rw-r--r-- | games/sarien/patches/patch-ac | 29 |
2 files changed, 31 insertions, 1 deletions
diff --git a/games/sarien/distinfo b/games/sarien/distinfo index c50037cbfb3..ac7bad8d79a 100644 --- a/games/sarien/distinfo +++ b/games/sarien/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2003/08/19 18:41:46 drochner Exp $ +$NetBSD: distinfo,v 1.3 2003/08/25 08:57:54 drochner Exp $ SHA1 (sarien-0.7.0.tar.gz) = f1c3236ed554cbde479fbbfa52cbc95cb9759fde Size (sarien-0.7.0.tar.gz) = 284109 bytes SHA1 (patch-aa) = 437bf3108d437f265c97a813a1a1d512003f20b4 SHA1 (patch-ab) = 0cc8d119e26aca5530bb70342b884e7faa2ad3e9 +SHA1 (patch-ac) = 198ed26e5ad7ab49a7c30e731a3ad37432fda7e7 diff --git a/games/sarien/patches/patch-ac b/games/sarien/patches/patch-ac new file mode 100644 index 00000000000..a4543182775 --- /dev/null +++ b/games/sarien/patches/patch-ac @@ -0,0 +1,29 @@ +$NetBSD: patch-ac,v 1.1 2003/08/25 08:57:54 drochner Exp $ + +--- src/core/savegame.c.orig 2003-08-24 18:15:58.000000000 +0200 ++++ src/core/savegame.c 2003-08-24 18:18:07.000000000 +0200 +@@ -590,10 +590,10 @@ + + /* DATADIR conflicts with ObjIdl.h in win32 SDK, + renamed to DATA_DIR */ +- sprintf (path, "%s/" DATA_DIR "/", home); ++ sprintf (path, "%s/" DATA_DIR, home); + + MKDIR (path, 0755); +- sprintf (path, "%s/" DATA_DIR "/%s/", home, game.id); ++ sprintf (path, "%s/" DATA_DIR "/%s", home, game.id); + MKDIR (path, 0711); + + sprintf (path, "%s/" DATA_DIR "/%s/%08d.sav", +@@ -619,9 +619,9 @@ + return err_BadFileOpen; + } + +- sprintf (path, "%s/" DATA_DIR "/", home); ++ sprintf (path, "%s/" DATA_DIR, home); + MKDIR (path, 0755); +- sprintf (path, "%s/" DATA_DIR "/%s/", home, game.id); ++ sprintf (path, "%s/" DATA_DIR "/%s", home, game.id); + MKDIR (path, 0711); + + sprintf (path, "%s/" DATA_DIR "/%s/%08d.sav", |