Package: nethack / 3.4.3-15

Metadata

Package Version Patches format
nethack 3.4.3-15 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Make sure the user calling recover owns the file.patch | (download)

util/recover.c | 48 46 + 2 - 0 !
1 file changed, 46 insertions(+), 2 deletions(-)

 make sure the user calling recover owns the file.


0002 Change paths in the default manpage to what is used .patch | (download)

doc/nethack.6 | 13 7 + 6 - 0 !
1 file changed, 7 insertions(+), 6 deletions(-)

 change paths in the default manpage to what is used in debian +
 other stuff.


0003 Define _GNU_SOURCE for RTLD_NEXT.patch | (download)

sys/unix/unixres.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 define _gnu_source for rtld_next.


0004 Add LISP based windowing system.patch | (download)

include/winlisp.h | 70 70 + 0 - 0 !
src/windows.c | 7 7 + 0 - 0 !
win/lisp/ChangeLog | 326 326 + 0 - 0 !
win/lisp/winlisp.c | 1937 1937 + 0 - 0 !
win/tty/termcap.c | 5 5 + 0 - 0 !
5 files changed, 2345 insertions(+)

 add lisp-based windowing system


0005 Simple mail.patch | (download)

include/decl.h | 4 4 + 0 - 0 !
include/flag.h | 3 3 + 0 - 0 !
include/unixconf.h | 1 0 + 1 - 0 !
src/mail.c | 96 83 + 13 - 0 !
sys/unix/unixmain.c | 10 9 + 1 - 0 !
5 files changed, 99 insertions(+), 15 deletions(-)

 simple mail


0006 Common config.h for all binary packages.patch | (download)

include/config.h | 36 19 + 17 - 0 !
1 file changed, 19 insertions(+), 17 deletions(-)

 common config.h for all binary packages.


0007 Be a little bit more useful with recover s error mes.patch | (download)

util/recover.c | 23 15 + 8 - 0 !
1 file changed, 15 insertions(+), 8 deletions(-)

 be a little bit more useful with recover's error messages


0008 Use usr share pixmaps nethack for pretty pictures.patch | (download)

win/X11/winX.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use /usr/share/pixmaps/nethack/ for pretty pictures.


0009 Better way to do it.patch | (download)

src/windows.c | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 better way to do it.


0010 Enables color HP monitor for textmode NetHack.patch | (download)

dat/opthelp | 3 3 + 0 - 0 !
doc/Guidebook.mn | 4 4 + 0 - 0 !
doc/Guidebook.tex | 5 5 + 0 - 0 !
doc/Guidebook.txt | 5 5 + 0 - 0 !
include/config.h | 3 3 + 0 - 0 !
include/flag.h | 5 5 + 0 - 0 !
src/botl.c | 46 46 + 0 - 0 !
src/options.c | 3 3 + 0 - 0 !
8 files changed, 74 insertions(+)

 enables color hp monitor for textmode nethack.


0011 Pasi Kallinen s patch to add colors to inventory ite.patch | (download)

README.menucolor | 96 96 + 0 - 0 !
dat/opthelp | 18 18 + 0 - 0 !
include/color.h | 18 18 + 0 - 0 !
include/config.h | 11 11 + 0 - 0 !
include/extern.h | 3 3 + 0 - 0 !
include/flag.h | 3 3 + 0 - 0 !
src/decl.c | 4 4 + 0 - 0 !
src/files.c | 4 4 + 0 - 0 !
src/options.c | 136 136 + 0 - 0 !
src/save.c | 26 26 + 0 - 0 !
util/makedefs.c | 7 7 + 0 - 0 !
win/tty/wintty.c | 43 43 + 0 - 0 !
12 files changed, 369 insertions(+)

 pasi kallinen's patch to add colors to inventory items.


0012 Paranoid hit asks you to confirm yes instead of y wh.patch | (download)

dat/opthelp | 3 3 + 0 - 0 !
doc/Guidebook.mn | 3 3 + 0 - 0 !
doc/Guidebook.tex | 4 4 + 0 - 0 !
doc/Guidebook.txt | 4 4 + 0 - 0 !
include/flag.h | 3 3 + 0 - 0 !
src/options.c | 3 3 + 0 - 0 !
src/uhitm.c | 18 18 + 0 - 0 !
7 files changed, 38 insertions(+)

 paranoid hit asks you to confirm 'yes' instead of 'y' when hitting
 peacefuls


0013 93_enh_dump.dpatch by Tom Friedetzky Jukka Lahtinen .patch | (download)

dat/opthelp | 3 3 + 0 - 0 !
doc/Guidebook.mn | 6 6 + 0 - 0 !
doc/Guidebook.tex | 7 7 + 0 - 0 !
doc/Guidebook.txt | 7 7 + 0 - 0 !
include/config.h | 2 2 + 0 - 0 !
include/decl.h | 3 3 + 0 - 0 !
include/extern.h | 21 21 + 0 - 0 !
src/botl.c | 30 30 + 0 - 0 !
src/cmd.c | 387 387 + 0 - 0 !
src/decl.c | 9 9 + 0 - 0 !
src/display.c | 100 100 + 0 - 0 !
src/end.c | 230 218 + 12 - 0 !
src/invent.c | 73 71 + 2 - 0 !
src/options.c | 25 25 + 0 - 0 !
src/spell.c | 29 29 + 0 - 0 !
src/topten.c | 47 43 + 4 - 0 !
src/weapon.c | 68 68 + 0 - 0 !
win/tty/wintty.c | 4 2 + 2 - 0 !
18 files changed, 1031 insertions(+), 20 deletions(-)

 =?utf-8?q?93=5fenh=5fdump.dpatch=20by=20tom=20friedetzky,=20jukka=20?=
 =?UTF-8?q?Lahtinen,=20Darshan=20Shaligram=0ADump=20patch=20by=20Jukka=20Lah?=
 =?UTF-8?q?tinen.?=


0014 94_enh_sortloot.dpatch by Jeroen Demeyer and Jukka L.patch | (download)

dat/opthelp | 5 5 + 0 - 0 !
doc/Guidebook.mn | 12 12 + 0 - 0 !
doc/Guidebook.tex | 15 15 + 0 - 0 !
doc/Guidebook.txt | 12 12 + 0 - 0 !
include/config.h | 1 1 + 0 - 0 !
include/extern.h | 3 3 + 0 - 0 !
include/flag.h | 3 3 + 0 - 0 !
src/end.c | 44 44 + 0 - 0 !
src/invent.c | 64 64 + 0 - 0 !
src/objnam.c | 25 25 + 0 - 0 !
src/options.c | 64 63 + 1 - 0 !
src/pickup.c | 41 41 + 0 - 0 !
12 files changed, 288 insertions(+), 1 deletion(-)

 =?utf-8?q?94=5fenh=5fsortloot.dpatch=20by=20jeroen=20demeyer=20and=20?=
 =?UTF-8?q?Jukka=20Lahtinen=0ASort=20item=20lists=20alphabetically?=


0015 95_enh_engulf_prayers.dpatch by Joshua Kwan.patch | (download)

src/pray.c | 28 22 + 6 - 0 !
1 file changed, 22 insertions(+), 6 deletions(-)

 =?utf-8?q?95=5fenh=5fengulf=5fprayers.dpatch=20by=20joshua=20kwan=0a?=
 =?UTF-8?q?Prayer=20can=20expel=20you=20from=20being=20swallowed.?=


0016 fix non constant format strings.patch | (download)

include/extern.h | 1 1 + 0 - 0 !
src/apply.c | 58 29 + 29 - 0 !
src/artifact.c | 2 1 + 1 - 0 !
src/botl.c | 4 2 + 2 - 0 !
src/cmd.c | 8 4 + 4 - 0 !
src/detect.c | 4 2 + 2 - 0 !
src/dig.c | 2 1 + 1 - 0 !
src/do.c | 10 5 + 5 - 0 !
src/dothrow.c | 2 1 + 1 - 0 !
src/dungeon.c | 2 1 + 1 - 0 !
src/eat.c | 6 3 + 3 - 0 !
src/engrave.c | 8 4 + 4 - 0 !
src/hack.c | 6 3 + 3 - 0 !
src/invent.c | 12 6 + 6 - 0 !
src/lock.c | 2 1 + 1 - 0 !
src/mail.c | 2 1 + 1 - 0 !
src/makemon.c | 2 1 + 1 - 0 !
src/mcastu.c | 2 1 + 1 - 0 !
src/mhitu.c | 8 4 + 4 - 0 !
src/mon.c | 2 1 + 1 - 0 !
src/mthrowu.c | 2 1 + 1 - 0 !
src/muse.c | 4 2 + 2 - 0 !
src/pline.c | 6 6 + 0 - 0 !
src/polyself.c | 4 2 + 2 - 0 !
src/potion.c | 6 3 + 3 - 0 !
src/pray.c | 2 1 + 1 - 0 !
src/priest.c | 6 3 + 3 - 0 !
src/questpgr.c | 2 1 + 1 - 0 !
src/read.c | 18 9 + 9 - 0 !
src/region.c | 4 2 + 2 - 0 !
src/restore.c | 2 1 + 1 - 0 !
src/rumors.c | 4 2 + 2 - 0 !
src/shk.c | 6 3 + 3 - 0 !
src/sounds.c | 18 9 + 9 - 0 !
src/spell.c | 2 1 + 1 - 0 !
src/steed.c | 2 1 + 1 - 0 !
src/teleport.c | 12 6 + 6 - 0 !
src/timeout.c | 8 4 + 4 - 0 !
src/trap.c | 4 2 + 2 - 0 !
src/uhitm.c | 2 1 + 1 - 0 !
src/zap.c | 24 12 + 12 - 0 !
41 files changed, 144 insertions(+), 137 deletions(-)

 fix non-constant format strings

With the default dpkg-buildflags, gcc reports format strings it
cannot check as errors. This patch avoids all cases where gcc
complains.

0017 Debian and Linux specifics defined in unixconf.h.patch | (download)

include/unixconf.h | 22 13 + 9 - 0 !
src/mail.c | 5 3 + 2 - 0 !
util/makedefs.c | 16 8 + 8 - 0 !
3 files changed, 24 insertions(+), 19 deletions(-)

 debian (and linux) specifics defined in unixconf.h.


0018 lisp support in src Makefile.patch | (download)

sys/unix/Makefile.src | 11 9 + 2 - 0 !
1 file changed, 9 insertions(+), 2 deletions(-)

 lisp support in src/makefile

some left over parts of some older patches
belonging to the lisp part.

0019 stay in array bounds.patch | (download)

src/mhitu.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 stay in array bounds

Fix code reading a element after an array. As that is undefined
behaviour it gets a warning and might lead to later hard to detect
misoptimisations by the compiler.

0020 fix 64 bit issues in lisp code.patch | (download)

win/lisp/winlisp.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix 64 bit issues in lisp code

some arguments are longs where ints are expected,
so explicitly cast them.

0021 fix kfreebsd ftbfs.patch | (download)

src/hacklib.c | 4 4 + 0 - 0 !
util/makedefs.c | 4 4 + 0 - 0 !
win/tty/termcap.c | 4 0 + 4 - 0 !
3 files changed, 8 insertions(+), 4 deletions(-)

 fix ftbfs on kfreebsd
 "#define BSD 1" also has to be un-commented in include/unixconf.h in order
 for nethack to be built successfully on kfreebsd (see
 0017-Debian-and-Linux-specifics-defined-in-unixconf.h.patch). Also, if
 0011-Pasi-Kallinen-s-patch-to-add-colors-to-inventory-ite.patch (i.e. the
 menucolors patch) is applied, defining MENU_COLOR_REGEX causes a FTBFS on
 kfreebsd (not sure why), so define it only on Linux for now.
0022 add curses ui.patch | (download)

README-curses.txt | 168 168 + 0 - 0 !
doc/window.doc | 7 7 + 0 - 0 !
include/flag.h | 10 10 + 0 - 0 !
include/ntconf.h | 4 3 + 1 - 0 !
include/rm.h | 1 1 + 0 - 0 !
include/system.h | 2 1 + 1 - 0 !
include/wincurs.h | 291 291 + 0 - 0 !
include/winprocs.h | 9 7 + 2 - 0 !
src/cmd.c | 2 1 + 1 - 0 !
src/drawing.c | 19 18 + 1 - 0 !
src/options.c | 114 110 + 4 - 0 !
src/rip.c | 2 1 + 1 - 0 !
src/windows.c | 6 6 + 0 - 0 !
sys/unix/Makefile.src | 60 53 + 7 - 0 !
sys/winnt/cursmake.gcc | 1348 1348 + 0 - 0 !
sys/winnt/defaults.nh | 119 110 + 9 - 0 !
util/makedefs.c | 3 3 + 0 - 0 !
win/curses/cursdial.c | 1591 1591 + 0 - 0 !
win/curses/cursdial.h | 35 35 + 0 - 0 !
win/curses/curses-todo.txt | 92 92 + 0 - 0 !
win/curses/cursinit.c | 1197 1197 + 0 - 0 !
win/curses/cursinit.h | 19 19 + 0 - 0 !
win/curses/cursmain.c | 719 719 + 0 - 0 !
win/curses/cursmesg.c | 485 485 + 0 - 0 !
win/curses/cursmesg.h | 21 21 + 0 - 0 !
win/curses/cursmisc.c | 991 991 + 0 - 0 !
win/curses/cursmisc.h | 48 48 + 0 - 0 !
win/curses/cursstat.c | 2727 2727 + 0 - 0 !
win/curses/cursstat.h | 12 12 + 0 - 0 !
win/curses/curswins.c | 815 815 + 0 - 0 !
win/curses/curswins.h | 46 46 + 0 - 0 !
win/tty/termcap.c | 7 7 + 0 - 0 !
32 files changed, 10943 insertions(+), 27 deletions(-)

 add new curses user interface
 Quoting "Info" page from the official site, some features of
 this interface compared to the traditional tty interface include:
 * Dynamic window resizing (e.g. maximizing a terminal window)
 * Dynamic configurable placement of status and message windows,
   relative to the map
 * Makes better use of larger and smaller terminal windows,
   such as a multi-line message window if there is space
 * Fancier display (e.g. window borders, optional popup dialogs,
   splash screen, and better menus)
 * Optional mouse support (click to move player, etc)
 * Menu text search/selection
 * Improved keyboard navigation of menus
 * "cursesgraphics" option for fancier line-drawing characters
   for drawing the dungeon - this should work on most
   terminals/platforms
 
 This patch was adapted to apply on the Debian NetHack source tree.
 .