Package: nethack / 3.6.0-4

Metadata

Package Version Patches format
nethack 3.6.0-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
u1 avoid crash for long lines in nethackrc.patch | (download)

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

 [patch] avoid crash for long lines in nethackrc

read_config_file() has used a buffer of size (4 * BUFSZ) since 3.4.x
so parse_config_line() needs a buffer of the same size to avoid
buffer overrun. Allows my old .nethackrc to work again.

[jcowgill: remove changelog changes]

0001 Make sure the user calling recover owns the file.patch | (download)

util/recover.c | 50 47 + 3 - 0 !
1 file changed, 47 insertions(+), 3 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.


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 | 83 78 + 5 - 0 !
sys/unix/unixmain.c | 9 9 + 0 - 0 !
5 files changed, 94 insertions(+), 6 deletions(-)

 simple mail


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

include/config.h | 30 19 + 11 - 0 !
1 file changed, 19 insertions(+), 11 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 | 24 16 + 8 - 0 !
1 file changed, 16 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 | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 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 | 2 2 + 0 - 0 !
include/flag.h | 5 5 + 0 - 0 !
src/botl.c | 44 41 + 3 - 0 !
src/options.c | 3 3 + 0 - 0 !
8 files changed, 68 insertions(+), 3 deletions(-)

 enables color hp monitor for textmode nethack.


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

include/unixconf.h | 20 12 + 8 - 0 !
src/mail.c | 5 3 + 2 - 0 !
2 files changed, 15 insertions(+), 10 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)

include/unixconf.h | 8 2 + 6 - 0 !
1 file changed, 2 insertions(+), 6 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).
0023 gcc warning fixes.patch | (download)

include/lint.h | 6 1 + 5 - 0 !
src/decl.c | 3 0 + 3 - 0 !
2 files changed, 1 insertion(+), 8 deletions(-)

 fix nhuse macro so it doesn't print warnings
 The nhUse macro is designed to prevent warnings, but actually produces more
 when compling on a 64-bit system! Use the standard "(void)" technique to
 prevent "unused function argument" warnings instead.
0024 lisp 3.6.patch | (download)

include/winlisp.h | 5 2 + 3 - 0 !
src/windows.c | 2 1 + 1 - 0 !
util/makedefs.c | 3 3 + 0 - 0 !
util/mdgrep.h | 5 5 + 0 - 0 !
util/mdgrep.pl | 2 1 + 1 - 0 !
win/lisp/winlisp.c | 38 23 + 15 - 0 !
6 files changed, 35 insertions(+), 20 deletions(-)

 fixes to the lisp window system for 3.6.0
 These have not been extensively tested.
0025 reproducible build.patch | (download)

sys/unix/Makefile.top | 2 1 + 1 - 0 !
util/makedefs.c | 9 6 + 3 - 0 !
2 files changed, 7 insertions(+), 4 deletions(-)

 enable reproducible building
 - set LC_ALL to C so the shell sorts files in DATDLB after
   wildcard expansion independent of the configured locale
 - read timestamp for the build date from environment.
   https://reproducible-builds.org/specs/source-date-epoch/


0026 fix permanently identify.patch | (download)

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

 fix permanently identify bug
 The return value of display_inventory() is from a type char value;
 since the type char is unsigned on port arm by default, the if statement will
 never success and identify will not be commited.