On Thu, Jun 25, 2026 at 06:27:34PM +0200, Marc Espie wrote:
> Here's a patch to update nethack 3.6 to not conflict with us
> and to have a new group for saving games.
> 
> (as usual, nethack is a long-lived games, and there is no reason
> to prevent people from keeping their old 3.4 and 3.6 games going)
> 
> 
> The port proper is attached. It appears to work so far.
> 
> I have only bothered with the no_x11 flavor.
> 
> Getting the "full" nethack with more graphics is still a possibility
> 
> The code appears to be much cleaner and not warn as much as the old
> one !

And I forgot the patch proper

Index: infrastructure/db/user.list
===================================================================
RCS file: /build/data/openbsd/cvs/ports/infrastructure/db/user.list,v
diff -u -p -r1.490 user.list
--- infrastructure/db/user.list 6 Jun 2026 10:18:19 -0000       1.490
+++ infrastructure/db/user.list 25 Jun 2026 08:52:53 -0000
@@ -414,3 +414,4 @@ id  user            group           port
 903 _iaxmodem          _iaxmodem       telephony/iaxmodem
 904 _neighbot          _neighbot       net/neighbot
 905 _pgweb             _pgweb          www/pgweb
+906                    _nethack50      games/nethack/5.0
Index: games/nethack/3.6/Makefile
===================================================================
RCS file: /build/data/openbsd/cvs/ports/games/nethack/3.6/Makefile,v
diff -u -p -r1.13 Makefile
--- games/nethack/3.6/Makefile  28 Jan 2025 10:17:37 -0000      1.13
+++ games/nethack/3.6/Makefile  25 Jun 2026 14:49:59 -0000
@@ -7,7 +7,7 @@ PKGNAME =       ${DISTNAME}
 CATEGORIES =   games
 SITES =                https://www.nethack.org/download/$V/
 DISTFILES =    nethack-${V:S/.//g}-src.tgz
-REVISION =     1
+REVISION =     2
 
 HOMEPAGE =     http://nethack.org/
 
Index: games/nethack/3.6/pkg/PLIST
===================================================================
RCS file: /build/data/openbsd/cvs/ports/games/nethack/3.6/pkg/PLIST,v
diff -u -p -r1.5 PLIST
--- games/nethack/3.6/pkg/PLIST 11 Mar 2022 19:04:43 -0000      1.5
+++ games/nethack/3.6/pkg/PLIST 25 Jun 2026 14:49:54 -0000
@@ -1,6 +1,6 @@
 @option no-default-conflict
 @option is-branch
-@conflict nethack->=${BASEV}
+@conflict nethack->=${BASEV},<5.0
 @newgroup ${GAMEGRP}:806
 @comment bin/license
 @comment bin/nethack

Reply via email to