openbsd-ports/games/slash-em/patches/patch-include_config_h
espie 396439d7ee update to a ways more recent version.
Use the same technique as nethack, so that several slash-em versions
can be installed concurrently.
2005-09-11 12:26:02 +00:00

47 lines
2.0 KiB
Plaintext

$OpenBSD: patch-include_config_h,v 1.2 2005/09/11 12:26:02 espie Exp $
--- include/config.h.orig Sat Jul 2 09:24:44 2005
+++ include/config.h Sun Sep 11 13:32:57 2005
@@ -183,7 +183,7 @@
* xpmtoppm <x11tiles.xpm | pnmscale 1.25 | pnmdepth 255 |
* ppmquant 90 | ppmtoxpm >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
@@ -197,6 +197,7 @@
* 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 */
@@ -227,12 +228,12 @@
#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" /* FSF gzip compression */
+# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
/* # define COMPRESS "/usr/bin/bzip2" *//* bzip2 compression */
/* # define COMPRESS_EXTENSION ".bz2" *//* bzip2 extension */
@@ -367,7 +368,7 @@ typedef unsigned char uchar;
* functions that have been macroized.
*/
/* WAC Can be defined under DJGPP, even though it's DOS*/
-/*#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 */