Originally supplied by collver@linuxfreemail.com in pkg/14359 and subsequently modified somewhat mostly by him.
47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 2002/01/21 11:56:17 pooka Exp $
|
|
|
|
--- include/config.h.orig Tue Jul 3 18:56:52 2001
|
|
+++ include/config.h
|
|
@@ -42,7 +42,7 @@
|
|
* 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 GNOME_GRAPHICS */ /* Gnome interface */
|
|
@@ -187,11 +187,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
|
|
@@ -222,7 +222,7 @@
|
|
* otherwise it will be the current directory.
|
|
*/
|
|
# ifndef HACKDIR
|
|
-# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */
|
|
+# define HACKDIR "XXXPREFIXXXX/share/nethackdir" /* nethack directory */
|
|
# endif
|
|
|
|
/*
|
|
@@ -318,7 +318,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 */
|