diff options
Diffstat (limited to 'games-roguelike/nethack/files')
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-GNOME-support.patch | 28 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-QT-GNOME-support.patch | 30 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-QT-support.patch | 20 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-X-support.patch | 26 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-bison.patch | 18 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-default-options.patch | 29 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-gentoo-paths.patch | 18 | ||||
-rw-r--r-- | games-roguelike/nethack/files/3.4.3-macos.patch | 11 | ||||
-rw-r--r-- | games-roguelike/nethack/files/dot.nethackrc | 92 |
9 files changed, 272 insertions, 0 deletions
diff --git a/games-roguelike/nethack/files/3.4.3-GNOME-support.patch b/games-roguelike/nethack/files/3.4.3-GNOME-support.patch new file mode 100644 index 0000000..3a18fae --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-GNOME-support.patch @@ -0,0 +1,28 @@ +--- include/config.h.orig 2003-06-21 21:06:38.000000000 -0400 ++++ include/config.h 2003-06-21 21:12:00.000000000 -0400 +@@ -48 +48 @@ +-/* #define GNOME_GRAPHICS */ /* Gnome interface */ ++#define GNOME_GRAPHICS +@@ -96 +95,0 @@ +-# define USE_XPM /* Use XPM format for images (required) */ +--- Makefile.orig 2003-06-21 21:06:38.000000000 -0400 ++++ Makefile 2003-06-21 21:13:02.000000000 -0400 +@@ -43 +43 @@ +-VARDATND = x11tiles pet_mark.xbm rip.xpm ++VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm +--- src/Makefile.orig 2003-06-21 21:06:38.000000000 -0400 ++++ src/Makefile 2003-06-21 21:17:33.000000000 -0400 +@@ -142 +142 @@ +-GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome ++GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include +@@ -191 +191 @@ +- gnyesno.o gnworn.o tile.o ++ gnyesno.o gnworn.o +@@ -207,2 +207,2 @@ +-WINSRC = $(WINTTYSRC) $(WINX11SRC) +-WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) ++WINSRC = $(WINTTYSRC) $(WINX11SRC) $(WINGNOMESRC) ++WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) $(WINGNOMEOBJ) +@@ -248 +248 @@ +-WINLIB = $(WINTTYLIB) $(WINX11LIB) ++WINLIB = $(WINTTYLIB) $(WINX11LIB) $(WINGNOMELIB) diff --git a/games-roguelike/nethack/files/3.4.3-QT-GNOME-support.patch b/games-roguelike/nethack/files/3.4.3-QT-GNOME-support.patch new file mode 100644 index 0000000..2a610d6 --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-QT-GNOME-support.patch @@ -0,0 +1,30 @@ +--- include/config.h.orig 2003-06-21 21:06:38.000000000 -0400 ++++ include/config.h 2003-06-21 21:12:00.000000000 -0400 +@@ -48 +48 @@ +-/* #define GNOME_GRAPHICS */ /* Gnome interface */ ++#define GNOME_GRAPHICS +--- Makefile.orig 2003-06-21 21:06:38.000000000 -0400 ++++ Makefile 2003-06-21 21:13:02.000000000 -0400 +@@ -43 +43 @@ +-VARDATND = x11tiles pet_mark.xbm rip.xpm ++VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm +--- src/Makefile.orig 2003-06-21 21:06:38.000000000 -0400 ++++ src/Makefile 2003-06-21 21:17:33.000000000 -0400 +@@ -142 +142 @@ +-GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome ++GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include +@@ -191 +191 @@ +- gnyesno.o gnworn.o tile.o ++ gnyesno.o gnworn.o +@@ -207,2 +207,2 @@ +-WINSRC = $(WINTTYSRC) $(WINX11SRC) $(WINQTSRC) +-WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) $(WINQTOBJ) ++WINSRC = $(WINTTYSRC) $(WINX11SRC) $(WINQTSRC) $(WINGNOMESRC) ++WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) $(WINQTOBJ) $(WINGNOMEOBJ) +@@ -248 +248 @@ +-WINLIB = $(WINTTYLIB) $(WINX11LIB) $(WINQTLIB) ++WINLIB = $(WINTTYLIB) $(WINX11LIB) $(WINQTLIB) $(WINGNOMELIB) +--- include/config.h.orig 2003-06-21 22:04:25.000000000 -0400 ++++ include/config.h 2003-06-21 22:04:31.000000000 -0400 +@@ -96 +95,0 @@ +-# define USE_XPM /* Use XPM format for images (required) */ diff --git a/games-roguelike/nethack/files/3.4.3-QT-support.patch b/games-roguelike/nethack/files/3.4.3-QT-support.patch new file mode 100644 index 0000000..8f8d867 --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-QT-support.patch @@ -0,0 +1,20 @@ +--- include/config.h.orig 2003-06-21 21:03:14.000000000 -0400 ++++ include/config.h 2003-06-21 21:03:20.000000000 -0400 +@@ -47 +47 @@ +-/* #define QT_GRAPHICS */ /* Qt interface */ ++#define QT_GRAPHICS +@@ -91 +90,0 @@ +-# define USE_XPM /* Use XPM format for images (required) */ +--- src/Makefile.orig 2003-06-21 21:04:41.000000000 -0400 ++++ src/Makefile 2003-06-21 21:04:58.000000000 -0400 +@@ -189 +189 @@ +-WINQTOBJ = qt_win.o qt_clust.o qttableview.o tile.o ++WINQTOBJ = qt_win.o qt_clust.o qttableview.o +@@ -217,2 +217,2 @@ +-WINSRC = $(WINTTYSRC) $(WINX11SRC) +-WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) ++WINSRC = $(WINTTYSRC) $(WINX11SRC) $(WINQTSRC) ++WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) $(WINQTOBJ) +@@ -258 +258 @@ +-WINLIB = $(WINTTYLIB) $(WINX11LIB) ++WINLIB = $(WINTTYLIB) $(WINX11LIB) $(WINQTLIB) diff --git a/games-roguelike/nethack/files/3.4.3-X-support.patch b/games-roguelike/nethack/files/3.4.3-X-support.patch new file mode 100644 index 0000000..6687f88 --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-X-support.patch @@ -0,0 +1,26 @@ +--- include/config.h.orig 2003-06-21 20:58:57.000000000 -0400 ++++ include/config.h 2003-06-21 20:59:44.000000000 -0400 +@@ -46 +46 @@ +-/* #define X11_GRAPHICS */ /* X11 interface */ ++#define X11_GRAPHICS 1 +@@ -127 +127 @@ +-/* # define USE_XPM */ /* Disable if you do not have the XPM library */ ++# define USE_XPM 1 +--- Makefile.orig 2003-06-21 21:01:03.000000000 -0400 ++++ Makefile 2003-06-21 21:01:16.000000000 -0400 +@@ -43 +43 @@ +-VARDATND = ++VARDATND = x11tiles pet_mark.xbm rip.xpm +--- src/Makefile.orig 2003-06-21 21:02:01.000000000 -0400 ++++ src/Makefile 2003-06-21 21:02:11.000000000 -0400 +@@ -207,2 +207,2 @@ +-WINSRC = $(WINTTYSRC) +-WINOBJ = $(WINTTYOBJ) ++WINSRC = $(WINTTYSRC) $(WINX11SRC) ++WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) +@@ -228 +228 @@ +-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 ++WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm +@@ -248 +248 @@ +-WINLIB = $(WINTTYLIB) ++WINLIB = $(WINTTYLIB) $(WINX11LIB) diff --git a/games-roguelike/nethack/files/3.4.3-bison.patch b/games-roguelike/nethack/files/3.4.3-bison.patch new file mode 100644 index 0000000..0bec63a --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-bison.patch @@ -0,0 +1,18 @@ +--- nethack-3.4.3/util/Makefile 2004-08-21 01:09:06.724326360 +0200 ++++ nethack-3.4.3.new//util/Makefile 2004-08-21 01:08:03.852884272 +0200 +@@ -101,11 +101,11 @@ + + # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c. + # if, instead of yacc/lex you have bison/flex, comment/uncomment the following. +-YACC = yacc +-LEX = lex +-# YACC = bison -y ++#YACC = yacc ++#LEX = lex ++ YACC = bison -y + # YACC = byacc +-# LEX = flex ++ LEX = flex + + # these are the names of the output files from YACC/LEX. Under MS-DOS + # and similar systems, they may differ diff --git a/games-roguelike/nethack/files/3.4.3-default-options.patch b/games-roguelike/nethack/files/3.4.3-default-options.patch new file mode 100644 index 0000000..83ab94a --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-default-options.patch @@ -0,0 +1,29 @@ +--- include/config.h.orig 2003-06-21 20:44:00.000000000 -0400 ++++ include/config.h 2003-06-21 20:46:42.000000000 -0400 +@@ -172,2 +172,2 @@ +-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +-#define COMPRESS_EXTENSION ".Z" /* compress's extension */ ++#define COMPRESS "/bin/bzip2" /* Lempel-Ziv compression */ ++#define COMPRESS_EXTENSION ".bz2" /* compress's extension */ +@@ -188 +188 @@ +-/* #define DLB */ /* not supported on all platforms */ ++#define DLB 1 /* not supported on all platforms */ +@@ -207 +207 @@ +-# define HACKDIR "/usr/games/lib/nethackdir" ++# define HACKDIR "GENTOO_HACKDIR" +@@ -303 +303 @@ +-/* #define VISION_TABLES */ /* use vision tables generated at compile time */ ++#define VISION_TABLES 1 /* use vision tables generated at compile time */ +--- include/unixconf.h.orig 2003-06-21 20:47:54.000000000 -0400 ++++ include/unixconf.h 2003-06-21 20:48:39.000000000 -0400 +@@ -40 +40 @@ +-/* #define LINUX */ /* Another Unix clone */ ++#define LINUX 1 /* Another Unix clone */ +@@ -135 +135 @@ +-/* #define TIMED_DELAY */ /* usleep() */ ++#define TIMED_DELAY 1 +--- src/Makefile.orig 2003-06-21 20:55:36.000000000 -0400 ++++ src/Makefile 2003-06-21 20:55:49.000000000 -0400 +@@ -234 +234 @@ +-WINTTYLIB = -ltermlib ++WINTTYLIB = -lncurses diff --git a/games-roguelike/nethack/files/3.4.3-gentoo-paths.patch b/games-roguelike/nethack/files/3.4.3-gentoo-paths.patch new file mode 100644 index 0000000..af86cd1 --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-gentoo-paths.patch @@ -0,0 +1,18 @@ +--- include/unixconf.h.orig 2003-08-07 23:18:03.070299152 -0400 ++++ include/unixconf.h 2003-08-07 23:18:39.699730632 -0400 +@@ -96,13 +96,13 @@ + */ + + /* #define NO_FILE_LINKS */ /* if no hard links */ +-/* #define LOCKDIR "/usr/games/lib/nethackdir" */ /* where to put locks */ ++#define LOCKDIR "GENTOO_STATEDIR" + + /* + * If you want the static parts of your playground on a read-only file + * system, define VAR_PLAYGROUND to be where the variable parts are kept. + */ +-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ ++#define VAR_PLAYGROUND "GENTOO_STATEDIR" + + + /* diff --git a/games-roguelike/nethack/files/3.4.3-macos.patch b/games-roguelike/nethack/files/3.4.3-macos.patch new file mode 100644 index 0000000..d5aad38 --- /dev/null +++ b/games-roguelike/nethack/files/3.4.3-macos.patch @@ -0,0 +1,11 @@ +--- nethack-3.4.3/win/Qt/qt_win.cpp.orig 2005-11-22 21:24:03.000000000 +0100 ++++ nethack-3.4.3/win/Qt/qt_win.cpp 2005-11-22 21:25:26.000000000 +0100 +@@ -102,7 +102,7 @@ + #include "qt_xpms.h" + + #include <dirent.h> +-#ifdef Q_WS_MACX ++#ifdef __APPLE__ + # include <sys/malloc.h> + #else + # include <malloc.h> diff --git a/games-roguelike/nethack/files/dot.nethackrc b/games-roguelike/nethack/files/dot.nethackrc new file mode 100644 index 0000000..5589933 --- /dev/null +++ b/games-roguelike/nethack/files/dot.nethackrc @@ -0,0 +1,92 @@ +# +# Nethack configuration file. +# +# Please read the Guidebook in /usr/share/doc/nethack or at www.nethack.org. +# +# Naming this file $(HOME)/.nethackrc or setting the environment +# variable NETHACKOPTIONS to point to its full path name elsewhere tells +# NetHack to use X11 windowing (provided the executable was compiled with +# that ability). +# +# SET YOUR WINDOW TYPE +# Your windowtype choices are: GENTOO_WINDOWTYPES +# +OPTIONS=windowtype:GENTOO_DEFWINDOWTYPE +#OPTIONS=color +#OPTIONS=name:player +#OPTIONS=gender:male +#OPTIONS=fruit:mango +#OPTIONS=dogname:Izchak +#OPTIONS=catname:Chun-Li +#OPTIONS=horsename:Marlon + +# Suggested for qt: +#OPTIONS=number_pad,menustyle:partial,!time,showexp +#OPTIONS=hilite_pet,toptenwin,msghistory:200,windowtype:Qt + +# The font settings below are for X11 untiled +# +# There are 17 object symbols and various graphics symbols. +# The descriptions of these symbols can be found in dat/opthelp. +# +# +# Font: nh10 (10x20) +# +#OBJECTS= 180 183 188 192 181 184 182 189 190 196 \ +# 191 194 193 187 185 186 195 +# +#DUNGEON= 032 025 018 013 012 014 011 015 023 024 \ +# 022 021 128 129 130 131 132 035 035 133 \ +# 134 135 136 137 145 146 144 124 143 142 \ +# 141 140 149 150 031 031 147 148 031 161 \ +# 140 +# +#TRAPS= 138 138 138 138 138 138 138 138 138 138 \ +# 138 138 138 138 138 139 138 138 138 138 \ +# 138 138 +# +#EFFECTS= 151 152 153 154 155 156 157 158 \ +# 159 160 161 162 \ +# 163 164 165 166 167 168 169 170 \ +# 171 172 173 174 175 176 177 178 179 +# +# +# Font: ibm (8x14) +# +#OBJECTS= 207 210 215 219 208 211 209 216 217 223 \ +# 218 221 220 214 212 213 222 +# +#DUNGEON= 032 128 129 130 131 132 133 134 135 136 \ +# 137 138 139 045 124 142 143 035 035 144 \ +# 145 146 147 148 155 156 227 124 154 153 \ +# 152 151 159 160 200 200 157 158 250 170 \ +# 151 +# +#TRAPS= 149 149 149 149 149 149 149 149 149 149 \ +# 149 149 149 149 149 150 149 149 149 149 \ +# 149 149 +# +#EFFECTS= 161 162 163 164 165 166 167 168 \ +# 169 170 171 172 \ +# 173 174 175 176 177 178 179 180 \ +# 181 182 183 184 185 186 187 188 189 +# +# +# Font: a "standard" font like 6x13 +# Note that this version is unlikely to work on a tty on a Unix system because +# many of these characters are also control characters. +# +#DUNGEON = 032 025 018 013 012 014 011 015 023 024 \ +# 022 021 031 045 124 043 043 035 035 031 \ +# 035 001 060 062 060 062 019 124 092 035 \ +# 123 125 031 125 046 046 035 035 046 127 \ +# 125 +# +#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ +# 094 094 094 094 094 002 094 094 094 094 \ +# 094 094 +# +#EFFECTS= 124 045 092 047 042 033 041 040 \ +# 048 035 064 042 \ +# 047 045 092 124 124 092 045 047 \ +# 047 064 092 064 064 064 092 064 047 |