summaryrefslogtreecommitdiff
path: root/games/nethack-lib/patches/patch-aa
blob: 7b5281c417cf61b422945468443d7da1a3c68e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-aa,v 1.8 2003/03/01 21:12:50 pooka Exp $

--- include/config.h.old	2003-02-23 16:43:19.000000000 +0200
+++ include/config.h	2003-03-01 15:35:57.000000000 +0200
@@ -167,11 +167,11 @@
 
 #ifdef UNIX
 /* 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 "@GZIP_PROGRAM@"		/* FSF gzip compression */
+#define COMPRESS_EXTENSION ".gz"		/* normal gzip extension */
 #endif
 
 #ifndef COMPRESS
@@ -205,7 +205,7 @@
 #  ifdef __APPLE__
 #    define HACKDIR "nethackdir"	/* nethack directory */
 #  else
-#    define HACKDIR "/usr/games/lib/nethackdir"
+#    define HACKDIR "XXXPREFIXXXX/share/nethackdir340"
 #  endif
 # endif
 
@@ -302,7 +302,7 @@
  * functions that have been macroized.
  */
 
-/* #define VISION_TABLES */ /* use vision tables generated at compile time */
+#define VISION_TABLES /* use vision tables generated at compile time */
 #ifndef VISION_TABLES
 # ifndef NO_MACRO_CPATH
 #  define MACRO_CPATH	/* use clear_path macros instead of functions */