openbsd-ports/games/nethack/patches/patch-include_config_h

55 lines
2.1 KiB
Plaintext

$OpenBSD: patch-include_config_h,v 1.3 2002/03/23 14:51:46 espie Exp $
--- include/config.h.orig Thu Mar 21 00:42:43 2002
+++ include/config.h Sat Mar 23 15:14:53 2002
@@ -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
@@ -122,7 +122,7 @@
* would allow:
* xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm
*/
-/* # define USE_XPM */ /* Disable if you do not have the XPM library */
+# define USE_XPM /* Disable if you do not have the XPM library */
# ifdef USE_XPM
# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
# endif
@@ -136,6 +136,7 @@
* LOGFILE and NEWS refer to files in the playground.
*/
+#define WIZARD "games"
#ifndef WIZARD /* allow for compile-time or Makefile changes */
# ifndef KR1ED
# define WIZARD "wizard" /* the person allowed to use the -D option */
@@ -163,11 +164,13 @@
#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 "/usr/bin/gzip"
+#define COMPRESS_EXTENSION ".gz"
#endif
#ifndef COMPRESS
@@ -298,7 +301,7 @@ typedef unsigned char uchar;
* 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 */