summaryrefslogtreecommitdiff
path: root/japanese/nethack32/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/nethack32/files/patch-ab')
-rw-r--r--japanese/nethack32/files/patch-ab92
1 files changed, 80 insertions, 12 deletions
diff --git a/japanese/nethack32/files/patch-ab b/japanese/nethack32/files/patch-ab
index 7b6dc6a3bb5e..f8e8c48bac9b 100644
--- a/japanese/nethack32/files/patch-ab
+++ b/japanese/nethack32/files/patch-ab
@@ -1,12 +1,80 @@
---- ./include/system.h.org Mon Apr 5 08:54:19 1993
-+++ ./include/system.h Fri Dec 9 23:41:34 1994
-@@ -131,7 +131,9 @@
- E int FDECL(write, (int,char *,int));
- E int FDECL(link, (const char *, const char*));
- #else
-+#ifndef __FreeBSD__
- E long FDECL(lseek, (int,long,int));
-+#endif
- # ifdef POSIX_TYPES
- E int FDECL(write, (int, const void *,unsigned));
- # else
+*** include/config.h.orig Thu Aug 29 23:53:20 1996
+--- include/config.h Fri Aug 30 00:14:46 1996
+***************
+*** 210,216 ****
+ * Some combinations make no sense. See the installation document.
+ */
+ #define TTY_GRAPHICS /* good old tty based graphics */
+! /* #define X11_GRAPHICS /* X11 interface */
+
+ /*
+ ** added by issei, Tue May 24 11:55:10 JST 1994
+--- 210,216 ----
+ * Some combinations make no sense. See the installation document.
+ */
+ #define TTY_GRAPHICS /* good old tty based graphics */
+! #define X11_GRAPHICS /* X11 interface */
+
+ /*
+ ** added by issei, Tue May 24 11:55:10 JST 1994
+***************
+*** 267,273 ****
+ * 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 */
+ # ifdef USE_XPM
+ # define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
+ # endif
+--- 267,273 ----
+ * 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 */
+ # ifdef USE_XPM
+ # define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
+ # endif
+***************
+*** 307,318 ****
+
+ #ifdef UNIX
+ /* path and file name extension for compression program */
+! # define COMPRESS "/usr/ucb/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 */
+ #endif
+ #ifndef COMPRESS
+ # define INTERNAL_COMP /* control use of NetHack's compression routines */
+--- 307,318 ----
+
+ #ifdef UNIX
+ /* path and file name extension for compression program */
+! /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */
+! /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */
+
+ /* An example of one alternative you might want to use: */
+! # define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
+! # define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
+ #endif
+ #ifndef COMPRESS
+ # define INTERNAL_COMP /* control use of NetHack's compression routines */
+***************
+*** 342,348 ****
+ * otherwise it will be the current directory.
+ */
+ # ifndef HACKDIR
+! # define HACKDIR "/usr/games/lib/jnethackdir" /* nethack directory */
+ # endif
+
+ /*
+--- 342,348 ----
+ * otherwise it will be the current directory.
+ */
+ # ifndef HACKDIR
+! # define HACKDIR "/usr/local/lib/jnethackdir" /* nethack directory */
+ # endif
+
+ /*