pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unnethack: update to 5.2.0



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Wed May 11 20:45:23 2022 +0200
Changeset:	21643155ae8d09ddeb633d65213c303981fcbe72

Modified Files:
	unnethack/Makefile
	unnethack/PLIST
	unnethack/distinfo
	unnethack/patches/patch-sys_autoconf_Makefile.src
Added Files:
	unnethack/patches/patch-sys_share_unixtty.c

Log Message:
unnethack: update to 5.2.0

This is release 5.2.0 of UnNetHack. This release updates the previous version
with bugfixes and new features of the development version 5.3.1 (distribution
packagers therefore don't need to package 5.2.0 if they already ship 5.3.1).

This release is not bones and saves compatible with 5.1.0.

ChangeLog:

2019-12-24  UnNetHack 5.2.0-1
	* Upload a repackaged ZIP file for Windows because of a false positive
	  virus alert by Microsoft Defender

2019-01-01  UnNetHack 5.2.0
	* Support SOURCE_DATE_EPOCH for reproducible builds (patch from Debian)
	* Players killed by Nazgul will arise as Barrow Wights in bones files
	  (a slight change from the original mythology, we know)
	* Reviving drained corpses sometimes won't work, and may destroy
	  the corpse. Partially drained corpses are more likely to revive.
	* Wand wresting happens always when an empty wand is zapped with a chance
	  depending on BUC state if an effect is produced
	* Reproducible dungeon layout. Set OPTIONS=seed:number to get the same
	  dungeon layout.
	* Vault Guards get angry if you eat gold in front of them. (From Nethack
		 Development Code - used with permission)
	* Several cosmetic changes - additional engravings, hallucinatory monsters, and funny messages.
	* Picking up scrolls of scare monsters change BUC from blessed to
	  uncursed to cursed
	* Default to UTF8graphics on supporting terminals
	* Putting blessed and uncursed scrolls of charging into a bag of
	  tricks charges it

	* item changes:
	  - Decreased weight of all mithril armor, especially ones of elven make

	* user interface improvements:
	  - Added naming last broken object to #name menu (idea from AceHack/NH4)
	  - Automatically identify scrolls of scare monster during pickup when
	    turning to dust or changing known BUC state
	  - Don't autopickup unpaid items (from NetHack 3.6)
	  - Change default of shopkeeper sell prompt to 'n' (idea by aosdict)
	  - Autoidentify wands of undead turning if engraving produces a message
	  - Added stone, strangled, levitation, flying, and riding indicators
	    to the status line
	  - Status indicators on third statuslines
	  - New option "statuslines" to force 2 or 3 status lines
	  - Pressing > or < autotravels to the stairs if not already on
	    the right kind of stairs

	* dungeon layout:
	  - Backyard of watery castle get trap doors to ensure player can
	    descend to the VotD
	  - Replaced lava with water on lava castle
	  - Don't generate 1000 fountains in bigrm-13

	* customizable colors:
	  - Dark gray improved on terminals supporting 256 colors
	  - Configurable system colors using RGB values
	     For example, put "COLOR=light blue:5f00ff" into your config file
	  - Find a close match for an arbitrary RGB value in 256 color mode
	  - New extended command: show_colors
	  - 24 bit color support by detecting COLORTERM=truecolor

	* bug fixes
	  - Fixed erroneous messages when remaining in stinking clouds
	  - Shopkeeper stopping player from entering a shop when having crystal
	    picks in the inventory
	  - Fixed improper explosion behavior for wand of fire and wand of cold (reported by Stenno)
	  - Fixed crash when drained troll corpse evaporated but rot timer was
	    still set on invalid pointer
	  - Correctly identify uncursed items in bags dropped on altars when hallucinating
	  - Prevent potential endless when praying and using perma hallucination
	  - Fixed crash with a configured nameempty option (found and fixed by tertium)
	  - Fixed crash in X11 inventory
	  - Fixed possible endless loop in autotravel on the Rogue level
	  - Fixed lava breath related crash at the edges of the map
	  - The chest in the Castle containing the wishing wand can never be
	    trapped (from 3.6.0)
	  - Picking up items with invweight shows weight of items including
	    merged items in inventory (reported by aosdict)
	  - Added missing extrinsic to chromatic dragon armor
	  - Disallow wishing for any chromatic dragon related items

	* vanilla bug fixes:
	  - C343-439: Running NetHack in a terminal window with more than 255
	              rows or columns produces display errors.
	  - C343-320: Reading a Scroll of Mail no longer violates illiterate conduct

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21643155ae8d09ddeb633d65213c303981fcbe72

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unnethack/Makefile                                |  6 +++---
 unnethack/PLIST                                   |  3 ++-
 unnethack/distinfo                                |  8 +++++---
 unnethack/patches/patch-sys_autoconf_Makefile.src |  4 ++--
 unnethack/patches/patch-sys_share_unixtty.c       | 14 ++++++++++++++
 5 files changed, 26 insertions(+), 9 deletions(-)

diffs:
diff --git a/unnethack/Makefile b/unnethack/Makefile
index 2948bfebc4..5337064183 100644
--- a/unnethack/Makefile
+++ b/unnethack/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2014/04/20 14:53:47 rhialto Exp $
+# $NetBSD$
 #
 
-DISTNAME=	unnethack-5.1.0-20131208
+DISTNAME=	unnethack-5.2.0
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=unnethack/}
-VER=		510
+VER=		520
 
 MAINTAINER=	rhialto%falu.nl@localhost
 HOMEPAGE=	http://sourceforge.net/apps/trac/unnethack/
diff --git a/unnethack/PLIST b/unnethack/PLIST
index e1a89e3116..8d1c720ac4 100644
--- a/unnethack/PLIST
+++ b/unnethack/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2014/04/20 14:53:47 rhialto Exp $
+@comment $NetBSD$
 bin/unnethack
 @comment ${PLIST.x11}lib/X11/app-defaults/NetHack
 ${PLIST.x11}lib/X11/fonts/misc/ibm.bdf
@@ -13,6 +13,7 @@ share/doc/unnethack/license
 share/unnethackdir${VER}/nhdat
 share/unnethackdir${VER}/recover
 share/unnethackdir${VER}/unnethack
+share/unnethackdir${VER}/unnethack_dump.css
 share/unnethackdir${VER}/unnethackrc.default
 ${PLIST.x11}share/unnethackdir${VER}/unnethack.x11.rc
 ${PLIST.x11}share/unnethackdir${VER}/UnNetHack.ad
diff --git a/unnethack/distinfo b/unnethack/distinfo
index 75c2af8000..f5fe5c20d5 100644
--- a/unnethack/distinfo
+++ b/unnethack/distinfo
@@ -1,11 +1,13 @@
 $NetBSD: distinfo,v 1.7 2014/04/20 14:53:48 rhialto Exp $
 
-RMD160 (unnethack-5.1.0-20131208.tar.gz) = 3dab0a9427772bbacddad4dbd1251b347465f985
-Size (unnethack-5.1.0-20131208.tar.gz) = 5422521 bytes
+BLAKE2s (unnethack-5.2.0.tar.gz) = 36127cccc73fd185f317120540ecd2a061a6f42ab48c38574b76e3efce8c3174
+SHA512 (unnethack-5.2.0.tar.gz) = 889029b251cb115c96bc4ab33466b4f39efae0217dcdde97ac4e32793781a9689ae4739c2997b484c2a29710e288afe5fc378df818fcf63fe620915d90d156c9
+Size (unnethack-5.2.0.tar.gz) = 5921717 bytes
 SHA1 (patch-configure) = d3ceae3a9ff858c585161e38ee99e04a7f481d75
 SHA1 (patch-include_config.h) = a6b583a4919dd233ba507276bd56f86b1c1810ea
 SHA1 (patch-sys_autoconf_Makefile.doc) = be91e891699e4ecc3d26184cb7b407d953fb64a9
-SHA1 (patch-sys_autoconf_Makefile.src) = 7c89b2f4b2d787ac811b6cafa07adb641703d53a
+SHA1 (patch-sys_autoconf_Makefile.src) = a1fbce934fff6b06be55da9e0807272e41f114d7
 SHA1 (patch-sys_autoconf_Makefile.top) = 142dd5705a72662e9312a930a020890e3d23a2c9
 SHA1 (patch-sys_autoconf_acinclude.m4) = 53e1700dbe1bfa49363a1ced236c0c5d7c083e1a
+SHA1 (patch-sys_share_unixtty.c) = 1cd048e55fcf19b1a51235fd487ef395175c505f
 SHA1 (patch-sys_unix_nethack.sh) = 11e475ab8dbfba032d9554e2c4a12475310afd49
diff --git a/unnethack/patches/patch-sys_autoconf_Makefile.src b/unnethack/patches/patch-sys_autoconf_Makefile.src
index 0f3c9023a7..391187361b 100644
--- a/unnethack/patches/patch-sys_autoconf_Makefile.src
+++ b/unnethack/patches/patch-sys_autoconf_Makefile.src
@@ -1,9 +1,9 @@
 $NetBSD: patch-sys_autoconf_Makefile.src,v 1.3 2014/04/07 22:04:16 rhialto Exp $
 
-Add #defines for libraries as set in pkgsrc Makefile, and link- and run-time
+Add #defines for libraries as set in pkgsrc Makefile, and runtime
 link path for curses.
 
---- sys/autoconf/Makefile.src.orig	2013-12-08 15:00:26.000000000 +0000
+--- sys/autoconf/Makefile.src.orig	2019-01-01 17:56:40.000000000 +0000
 +++ sys/autoconf/Makefile.src
 @@ -31,7 +31,7 @@ CC = @CC@ -DAUTOCONF
  WINDRES = @WINDRES@
diff --git a/unnethack/patches/patch-sys_share_unixtty.c b/unnethack/patches/patch-sys_share_unixtty.c
new file mode 100644
index 0000000000..0db02bb98d
--- /dev/null
+++ b/unnethack/patches/patch-sys_share_unixtty.c
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- sys/share/unixtty.c.orig	2022-05-11 18:37:13.878580520 +0000
++++ sys/share/unixtty.c
+@@ -462,7 +462,8 @@ check_utf8_console()
+     }
+ 
+     /* set minimal raw mode */
+-    struct termios raw = { 0 };
++    struct termios raw = original;
++    cfmakeraw(&raw);
+     raw.c_cc[VMIN] = 0;
+     raw.c_cc[VTIME] = 3; /* timeout of 0.3 seconds */
+     if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw) == -1) {


Home | Main Index | Thread Index | Old Index