diff options
author | pooka <pooka@pkgsrc.org> | 2003-09-02 00:30:54 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2003-09-02 00:30:54 +0000 |
commit | dac9d0e0d6c99e0a427e22f08e916c7a74af9efd (patch) | |
tree | 9f364d0be1bf39d22d6b192daf4d45879175096a /games/nethack-qt/patches | |
parent | f2e4c2074a49d57f79bbef048090abc73dc27841 (diff) | |
download | pkgsrc-dac9d0e0d6c99e0a427e22f08e916c7a74af9efd.tar.gz |
Update to NetHack 3.4.2
This is a bugfix release which fixes over 100 bugs including but
not limited to:
* Fixed a fatal bug that triggered a panic when your secondary weapon
was cursed during bones file creation
* Fixed a fatal bug that caused a crash when applying figurine, candle,
or bell that gets used up
for a complete list, see doc/fixes34.2
Old savegames and bones levels from nethack 3.4.1 (and 3.4.0) should
still work, but as usual, caution is advised.
Diffstat (limited to 'games/nethack-qt/patches')
-rw-r--r-- | games/nethack-qt/patches/patch-ab | 16 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ac | 14 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ae | 2 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-af | 25 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ag | 2 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ah | 18 |
6 files changed, 39 insertions, 38 deletions
diff --git a/games/nethack-qt/patches/patch-ab b/games/nethack-qt/patches/patch-ab index 1948fec88c9..5e2b1e0025b 100644 --- a/games/nethack-qt/patches/patch-ab +++ b/games/nethack-qt/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.6 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-ab,v 1.7 2003/09/02 00:30:55 pooka Exp $ ---- sys/unix/Makefile.top.orig 2003-02-23 16:43:39.000000000 +0200 -+++ sys/unix/Makefile.top 2003-03-01 22:06:45.000000000 +0200 +--- sys/unix/Makefile.top.orig 2003-08-30 03:08:04.000000000 +0300 ++++ sys/unix/Makefile.top 2003-09-02 02:42:07.000000000 +0300 @@ -14,18 +14,17 @@ # MAKE = make @@ -39,8 +39,8 @@ $NetBSD: patch-ab,v 1.6 2003/03/01 21:12:51 pooka Exp $ # per discussion in Install.X11 and Install.Qt -VARDATND = +VARDATND = pet_mark.xbm rip.xpm - # VARDATND = x11tiles pet_mark.xbm - # VARDATND = x11tiles pet_mark.xbm rip.xpm + # VARDATND = x11tiles NetHack.ad pet_mark.xbm + # VARDATND = x11tiles NetHack.ad pet_mark.xbm rip.xpm # for Atari/Gem @@ -87,9 +86,12 @@ $(GAME): @@ -56,7 +56,7 @@ $NetBSD: patch-ab,v 1.6 2003/03/01 21:12:51 pooka Exp $ # Note: many of the dependencies below are here to allow parallel make # to generate valid output -@@ -180,18 +182,15 @@ +@@ -183,18 +185,15 @@ -e '}' \ -e '$$s/.*/nodlb/p' < dat/options` ; \ $(MAKE) dofiles-$${target-nodlb} @@ -78,7 +78,7 @@ $NetBSD: patch-ab,v 1.6 2003/03/01 21:12:51 pooka Exp $ -$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME) $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME) chmod $(EXEPERM) $(SHELLDIR)/$(GAME) -@@ -227,16 +226,16 @@ +@@ -230,16 +229,16 @@ # and a reminder @echo You may also want to install the man pages via the doc Makefile. @@ -98,7 +98,7 @@ $NetBSD: patch-ab,v 1.6 2003/03/01 21:12:51 pooka Exp $ # set up the game files ( $(MAKE) dofiles ) # set up some additional files -@@ -244,9 +243,20 @@ +@@ -247,9 +246,20 @@ -( cd $(VARDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ $(CHGRP) $(GAMEGRP) perm record logfile ; \ chmod $(FILEPERM) perm record logfile ) diff --git a/games/nethack-qt/patches/patch-ac b/games/nethack-qt/patches/patch-ac index 28ba14d3474..7777fda289f 100644 --- a/games/nethack-qt/patches/patch-ac +++ b/games/nethack-qt/patches/patch-ac @@ -1,17 +1,17 @@ -$NetBSD: patch-ac,v 1.12 2003/06/25 14:22:13 pooka Exp $ +$NetBSD: patch-ac,v 1.13 2003/09/02 00:30:55 pooka Exp $ ---- include/system.h.orig 2003-02-23 16:43:22.000000000 +0200 -+++ include/system.h 2003-03-01 16:34:46.000000000 +0200 +--- include/system.h.orig 2003-08-30 03:07:23.000000000 +0300 ++++ include/system.h 2003-09-02 02:49:23.000000000 +0300 @@ -79,10 +79,10 @@ # if !defined(__SC__) && !defined(LINUX) E long NDECL(random); # endif --# if !defined(SUNOS4) || defined(RANDOM) -+# if !defined(SUNOS4) && !defined(__FreeBSD__) && !defined(__NetBSD__) || defined(RANDOM) +-# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM) ++# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__)) || defined(RANDOM) E void FDECL(srandom, (unsigned int)); # else -# if !defined(bsdi) && !defined(__FreeBSD__) -+# if !defined(bsdi) && !defined(__FreeBSD__) && !defined(__NetBSD__) ++# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) E int FDECL(srandom, (unsigned int)); # endif # endif @@ -38,7 +38,7 @@ $NetBSD: patch-ac,v 1.12 2003/06/25 14:22:13 pooka Exp $ # endif +#ifndef __NetBSD__ - # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) + # if defined(ULTRIX) || (defined(BSD) && defined(POSIX_TYPES)) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) E time_t FDECL(time, (time_t *)); # else E long FDECL(time, (time_t *)); diff --git a/games/nethack-qt/patches/patch-ae b/games/nethack-qt/patches/patch-ae index 2726aeec3c1..703ced03d32 100644 --- a/games/nethack-qt/patches/patch-ae +++ b/games/nethack-qt/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.2 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-ae,v 1.3 2003/09/02 00:30:55 pooka Exp $ --- sys/unix/Makefile.doc.orig 2003-02-23 16:43:39.000000000 +0200 +++ sys/unix/Makefile.doc 2003-03-01 16:36:19.000000000 +0200 diff --git a/games/nethack-qt/patches/patch-af b/games/nethack-qt/patches/patch-af index db6df93b51f..d3e64868337 100644 --- a/games/nethack-qt/patches/patch-af +++ b/games/nethack-qt/patches/patch-af @@ -1,20 +1,20 @@ -$NetBSD: patch-af,v 1.2 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-af,v 1.3 2003/09/02 00:30:55 pooka Exp $ ---- include/unixconf.h.orig Thu Mar 21 01:42:56 2002 -+++ include/unixconf.h Fri Mar 22 17:42:50 2002 +--- include/unixconf.h.orig 2003-08-30 03:07:24.000000000 +0300 ++++ include/unixconf.h 2003-09-02 02:55:54.000000000 +0300 @@ -19,20 +19,20 @@ */ /* define exactly one of the following four choices */ --/* #define BSD 1 */ /* define for 4.n BSD */ -+#define BSD 1 /* define for 4.n BSD */ +-/* #define BSD 1 */ /* define for 4.n/Free/Open/Net BSD */ ++#define BSD 1 /* define for 4.n/Free/Open/Net BSD */ /* also for relatives like SunOS 4.x, DG/UX, and */ /* older versions of Linux */ /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */ /* Use BSD for < v3.0 */ /* "ULTRIX" not to be confused with "ultrix" */ -#define SYSV /* define for System V, Solaris 2.x, newer versions */ -+/* #define SYSV /* define for System V, Solaris 2.x, newer versions */ ++/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */ /* of Linux */ /* #define HPUX */ /* Hewlett-Packard's Unix, version 6.5 or higher */ /* use SYSV for < v6.5 */ @@ -22,7 +22,7 @@ $NetBSD: patch-af,v 1.2 2003/03/01 21:12:51 pooka Exp $ /* define any of the following that are appropriate */ -#define SVR4 /* use in addition to SYSV for System V Release 4 */ -+/* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ++/* #define SVR4 */ /* use in addition to SYSV for System V Release 4 */ /* including Solaris 2+ */ #define NETWORK /* if running on a networked system */ /* e.g. Suns sharing a playground through NFS */ @@ -35,7 +35,7 @@ $NetBSD: patch-af,v 1.2 2003/03/01 21:12:51 pooka Exp $ /* Should be defined for most SYSV, SVR4 (including * Solaris 2+), HPUX, and Linux systems. In * particular, it should NOT be defined for the UNIXPC -@@ -168,11 +168,15 @@ +@@ -168,6 +168,9 @@ #ifdef MAIL # if defined(BSD) || defined(ULTRIX) @@ -45,10 +45,11 @@ $NetBSD: patch-af,v 1.2 2003/03/01 21:12:51 pooka Exp $ # ifdef AMS #define AMS_MAILBOX "/Mailbox" # else +@@ -177,6 +180,7 @@ #define DEF_MAILREADER "/usr/ucb/Mail" --# endif -+# endif -+# endif + # endif + # endif ++#endif #else # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX) - # if defined(M_XENIX) || defined(__FreeBSD__) + # if defined(M_XENIX) diff --git a/games/nethack-qt/patches/patch-ag b/games/nethack-qt/patches/patch-ag index e65f3b616b3..c0725b1fc61 100644 --- a/games/nethack-qt/patches/patch-ag +++ b/games/nethack-qt/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.2 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-ag,v 1.3 2003/09/02 00:30:55 pooka Exp $ --- src/mail.c.orig Wed Aug 9 21:02:04 2000 +++ src/mail.c Thu Aug 10 18:32:30 2000 diff --git a/games/nethack-qt/patches/patch-ah b/games/nethack-qt/patches/patch-ah index 8b06d42d1c6..27e082c6be6 100644 --- a/games/nethack-qt/patches/patch-ah +++ b/games/nethack-qt/patches/patch-ah @@ -1,19 +1,19 @@ -$NetBSD: patch-ah,v 1.3 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-ah,v 1.4 2003/09/02 00:30:55 pooka Exp $ ---- sys/unix/Makefile.src.orig 2003-02-23 16:43:39.000000000 +0200 -+++ sys/unix/Makefile.src 2003-03-01 22:36:14.000000000 +0200 -@@ -144,8 +144,8 @@ +--- sys/unix/Makefile.src.orig 2003-08-30 03:08:04.000000000 +0300 ++++ sys/unix/Makefile.src 2003-09-02 03:17:23.000000000 +0300 +@@ -151,8 +151,8 @@ # flags for debugging: # CFLAGS = -g -I../include -CFLAGS = -O -I../include --LFLAGS = +-LFLAGS = +CFLAGS += -I../include -I${X11BASE}/include +LFLAGS = ${LDFLAGS} # The Qt and Be window systems are written in C++, while the rest of - # NetHack is standard C. If using Qt, uncomment the LD line here to get -@@ -204,8 +204,8 @@ + # NetHack is standard C. If using Qt, uncomment the LINK line here to get +@@ -214,8 +214,8 @@ # # @@ -24,7 +24,7 @@ $NetBSD: patch-ah,v 1.3 2003/03/01 21:12:51 pooka Exp $ # on some systems the termcap library is in -ltermcap or -lcurses # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead -@@ -231,7 +231,7 @@ +@@ -241,7 +241,7 @@ # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 # # libraries for Qt @@ -33,7 +33,7 @@ $NetBSD: patch-ah,v 1.3 2003/03/01 21:12:51 pooka Exp $ # # libraries for KDE (with Qt) WINKDELIB = -lkdecore -lkdeui -lXext -@@ -245,7 +245,7 @@ +@@ -255,7 +255,7 @@ # libraries for BeOS WINBELIB = -lbe |