diff options
Diffstat (limited to 'games/nethack-lib/patches/patch-util_recover.c')
-rw-r--r-- | games/nethack-lib/patches/patch-util_recover.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/nethack-lib/patches/patch-util_recover.c b/games/nethack-lib/patches/patch-util_recover.c new file mode 100644 index 00000000000..0309268ffdc --- /dev/null +++ b/games/nethack-lib/patches/patch-util_recover.c @@ -0,0 +1,19 @@ +$NetBSD: patch-util_recover.c,v 1.1 2020/01/08 16:55:13 pho Exp $ + +The directory where save files are located is defined as +VAR_PLAYGROUND. HACKDIR only has static files. + +--- util/recover.c.orig 2020-01-08 16:49:06.924084164 +0000 ++++ util/recover.c +@@ -121,9 +121,9 @@ char *argv[]; + } + #endif /* SECURE && !VMS */ + +-#ifdef HACKDIR ++#ifdef VAR_PLAYGROUND + if (!dir) +- dir = HACKDIR; ++ dir = VAR_PLAYGROUND; + #endif + + #ifdef AMIGA |