summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches/patch-aa
blob: 0c9c39f213d183f4c0855baf82626cf295f41b22 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
$NetBSD: patch-aa,v 1.7 2002/03/25 20:32:27 pooka Exp $

--- include/config.h.orig	Thu Mar 21 01:42:43 2002
+++ include/config.h	Fri Mar 22 18:52:27 2002
@@ -42,9 +42,9 @@
  * Define all of those you want supported in your binary.
  * Some combinations make no sense.  See the installation document.
  */
-#define TTY_GRAPHICS	/* good old tty based graphics */
+/* #define TTY_GRAPHICS	/* good old tty based graphics */
 /* #define X11_GRAPHICS */	/* X11 interface */
-/* #define QT_GRAPHICS */	/* Qt interface */
+#define QT_GRAPHICS		/* Qt interface */
 /* #define GNOME_GRAPHICS */	/* Gnome interface */
 /* #define MSWIN_GRAPHICS */	/* Windows NT, CE, Graphics */
 
@@ -83,7 +83,7 @@
 #endif
 
 #ifdef QT_GRAPHICS
-# define USER_SOUNDS		/* Use sounds */
+/* # define USER_SOUNDS		/* Use sounds */
 # define USE_XPM		/* Use XPM format for images (required) */
 # define GRAPHIC_TOMBSTONE	/* Use graphical tombstone (rip.ppm) */
 # ifndef DEFAULT_WINDOW_SYS
@@ -110,7 +110,7 @@
 #endif
 
 #ifndef DEFAULT_WINDOW_SYS
-# define DEFAULT_WINDOW_SYS "tty"
+# define DEFAULT_WINDOW_SYS "Qt"
 #endif
 
 #ifdef X11_GRAPHICS
@@ -163,11 +163,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
@@ -201,7 +201,7 @@
 #  ifdef __APPLE__
 #    define HACKDIR "nethackdir"	/* nethack directory */
 #  else
-#    define HACKDIR "/usr/games/lib/nethackdir"
+#    define HACKDIR "XXXPREFIXXXX/share/nethackdir340"
 #  endif
 # endif
 
@@ -298,7 +298,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 */