summaryrefslogtreecommitdiff
path: root/games/xnethack/files/patch-include-config.h
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2021-04-27 23:43:23 +0200
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-05-24 08:09:09 +0800
commit7ef30eed0cf6f5626f708259518981a293a7645a (patch)
treec2d72570729f45c45c837c74cbc4c17017330b13 /games/xnethack/files/patch-include-config.h
parentgames/nbsdgames: (new port) 17 text-based modern games (diff)
games/xnethack: (new port) Experimental features and improvements applied to NetHack 3.7-dev
xNetHack is a fork of the dungeon exploration game NetHack. It is a distant descendent of Rogue and Hack, and a direct descendant of the development version of NetHack 3.7. The main goals of xNetHack are to take vanilla NetHack and: - Fix gameplay balance issues. - Remove tedious and frustrating parts of the game. - Make uninteresting parts of the game more interesting. - Experiment with new ideas from the community. In general, the game design takes a conservative approach to changing the gameplay compared to other variants, with focus on deepening elements of the game rather than broadening them. For example, this philosophy would prefer to differentiate monsters in a class that all tend to play the same way, instead of adding new monsters to that class. WWW: https://nethackwiki.com/wiki/XNetHack PR: 255456
Diffstat (limited to 'games/xnethack/files/patch-include-config.h')
-rw-r--r--games/xnethack/files/patch-include-config.h36
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")