diff options
Diffstat (limited to 'games/xnethack/files/patch-include-config.h')
-rw-r--r-- | games/xnethack/files/patch-include-config.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games/xnethack/files/patch-include-config.h b/games/xnethack/files/patch-include-config.h new file mode 100644 index 000000000000..09e486a83591 --- /dev/null +++ b/games/xnethack/files/patch-include-config.h @@ -0,0 +1,36 @@ +--- include/config.h.orig 2021-03-22 22:28:14 UTC ++++ include/config.h +@@ -294,11 +294,11 @@ + + #if defined(UNIX) && !defined(ZLIB_COMP) && !defined(COMPRESS) + /* path and file name extension for compression program */ +-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +-#define COMPRESS_EXTENSION ".Z" /* compress's extension */ ++/* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ ++/* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ + /* An example of one alternative you might want to use: */ +-/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ +-/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ ++#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ ++#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ + #endif + + #ifndef COMPRESS +@@ -383,7 +383,7 @@ + * otherwise it will be the current directory. + */ + #ifndef HACKDIR +-#define HACKDIR "/usr/games/lib/xnethackdir" ++#define HACKDIR "%%HACKDIR%%" + #endif + + /* +@@ -646,7 +646,7 @@ typedef unsigned char uchar; + #ifdef DUMPLOG + + #ifndef DUMPLOG_FILE +-#define DUMPLOG_FILE "/tmp/xnethack.%n.%d.log" ++#define DUMPLOG_FILE "/tmp/xnethack.%v.%u.%n.%D.log" + /* DUMPLOG_FILE allows following placeholders: + %% literal '%' + %v version (eg. "3.6.3-0") |