Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / games / nethack / patches / config.h.patch
blob77529c6d7853ede6db7a233fa0361a5a03be05bd
1 diff -Nru NetHack-3.6.7.orig/include/config.h NetHack-3.6.7/include/config.h
2 --- NetHack-3.6.7.orig/include/config.h 2023-02-15 22:52:57.000000000 +0100
3 +++ NetHack-3.6.7/include/config.h 2023-10-08 14:58:19.655839924 +0200
4 @@ -46,7 +46,7 @@
5 #define TTY_GRAPHICS /* good old tty based graphics */
6 #endif
7 /* #define CURSES_GRAPHICS *//* Curses interface - Karl Garrison*/
8 -/* #define X11_GRAPHICS */ /* X11 interface */
9 +#define X11_GRAPHICS /* X11 interface */
10 /* #define QT_GRAPHICS */ /* Qt interface */
11 /* #define GNOME_GRAPHICS */ /* Gnome interface */
12 /* #define MSWIN_GRAPHICS */ /* Windows NT, CE, Graphics */
13 @@ -263,11 +263,11 @@
15 #if defined(UNIX) && !defined(ZLIB_COMP) && !defined(COMPRESS)
16 /* path and file name extension for compression program */
17 -#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
18 -#define COMPRESS_EXTENSION ".Z" /* compress's extension */
19 +/* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */
20 +/* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */
21 /* An example of one alternative you might want to use: */
22 -/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
23 -/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */
24 +#define COMPRESS "/usr/local/bin/gzip" /* FSF gzip compression */
25 +#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
26 #endif
28 #ifndef COMPRESS
29 @@ -352,7 +352,7 @@
30 * otherwise it will be the current directory.
32 #ifndef HACKDIR
33 -#define HACKDIR "/usr/games/lib/nethackdir"
34 +#define HACKDIR "/usr/lib/nethack"
35 #endif
38 @@ -442,7 +442,7 @@
39 * functions that have been macroized.
42 -/* #define VISION_TABLES */ /* use vision tables generated at compile time */
43 +#define VISION_TABLES 1 /* use vision tables generated at compile time */
44 #ifndef VISION_TABLES
45 #ifndef NO_MACRO_CPATH
46 #define MACRO_CPATH /* use clear_path macros instead of functions */