]> git.pld-linux.org Git - packages/nethack.git/blob - nethack-config.patch
a6d532c8562f03dc96c16372c7ba35425001d604
[packages/nethack.git] / nethack-config.patch
1 diff -ruN nethack-3.4.0.orig/include/config.h 2/include/config.h
2 --- nethack-3.4.0.orig/include/config.h Mon Mar 25 23:47:30 2002
3 +++ 2/include/config.h  Tue Mar 26 20:35:52 2002
4 @@ -44,7 +44,7 @@
5   */
6  #define TTY_GRAPHICS   /* good old tty based graphics */
7  /* #define X11_GRAPHICS */     /* X11 interface */
8 -/* #define QT_GRAPHICS */      /* Qt interface */
9 +#define QT_GRAPHICS            /* Qt interface */
10  /* #define GNOME_GRAPHICS */   /* Gnome interface */
11  /* #define MSWIN_GRAPHICS */   /* Windows NT, CE, Graphics */
12  
13 @@ -136,6 +136,7 @@
14   *             LOGFILE and NEWS refer to files in the playground.
15   */
16  
17 +#if 0
18  #ifndef WIZARD         /* allow for compile-time or Makefile changes */
19  # ifndef KR1ED
20  #  define WIZARD  "wizard" /* the person allowed to use the -D option */
21 @@ -144,6 +145,7 @@
22  #  define WIZARD_NAME "wizard"
23  # endif
24  #endif
25 +#endif
26  
27  #define LOGFILE "logfile"      /* larger file for debugging purposes */
28  #define NEWS "news"            /* the file containing the latest hack news */
29 @@ -163,8 +165,8 @@
30  
31  #ifdef UNIX
32  /* path and file name extension for compression program */
33 -#define COMPRESS "/usr/bin/compress"   /* Lempel-Ziv compression */
34 -#define COMPRESS_EXTENSION ".Z"                /* compress's extension */
35 +#define COMPRESS "/bin/gzip"   /* Lempel-Ziv compression */
36 +#define COMPRESS_EXTENSION ".gz"               /* compress's extension */
37  /* An example of one alternative you might want to use: */
38  /* #define COMPRESS "/usr/local/bin/gzip" */   /* FSF gzip compression */
39  /* #define COMPRESS_EXTENSION ".gz" */         /* normal gzip extension */
40 @@ -179,7 +181,7 @@
41   *     a tar-like file, thus making a neater installation.  See *conf.h
42   *     for detailed configuration.
43   */
44 -/* #define DLB */      /* not supported on all platforms */
45 +#define DLB            /* not supported on all platforms */
46  
47  /*
48   *     Defining INSURANCE slows down level changes, but allows games that
49 @@ -201,7 +203,7 @@
50  #  ifdef __APPLE__
51  #    define HACKDIR "nethackdir"       /* nethack directory */
52  #  else
53 -#    define HACKDIR "/usr/games/lib/nethackdir"
54 +#    define HACKDIR "/usr/share/nethack"
55  #  endif
56  # endif
57  
58 @@ -298,7 +300,7 @@
59   * functions that have been macroized.
60   */
61  
62 -/* #define VISION_TABLES */ /* use vision tables generated at compile time */
63 +#define VISION_TABLES  /* use vision tables generated at compile time */
64  #ifndef VISION_TABLES
65  # ifndef NO_MACRO_CPATH
66  #  define MACRO_CPATH  /* use clear_path macros instead of functions */
67 diff -ruN nethack-3.4.0.orig/include/unixconf.h 2/include/unixconf.h
68 --- nethack-3.4.0.orig/include/unixconf.h       Mon Mar 25 23:47:30 2002
69 +++ 2/include/unixconf.h        Tue Mar 26 20:44:41 2002
70 @@ -32,12 +32,12 @@
71  
72  
73  /* define any of the following that are appropriate */
74 -#define SVR4           /* use in addition to SYSV for System V Release 4 */
75 +/*#define SVR4*/       /* use in addition to SYSV for System V Release 4 */
76                         /* including Solaris 2+ */
77  #define NETWORK                /* if running on a networked system */
78                         /* e.g. Suns sharing a playground through NFS */
79  /* #define SUNOS4 */   /* SunOS 4.x */
80 -/* #define LINUX */    /* Another Unix clone */
81 +#define LINUX          /* Another Unix clone */
82  /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */
83  /* #define GENIX */    /* Yet Another Unix Clone */
84  /* #define HISX */     /* Bull Unix for XPS Machines */
85 @@ -102,7 +102,7 @@
86   * If you want the static parts of your playground on a read-only file
87   * system, define VAR_PLAYGROUND to be where the variable parts are kept.
88   */
89 -/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */
90 +#define VAR_PLAYGROUND "/var/games/nethack"
91  
92  
93  /*
94 @@ -132,7 +132,7 @@
95   * "extra output" method is used, but not all systems provide access to
96   * a fine-grained timer.
97   */
98 -/* #define TIMED_DELAY */      /* usleep() */
99 +#define TIMED_DELAY    /* usleep() */
100  #endif
101  
102  /*
This page took 0.026582 seconds and 2 git commands to generate.