Hello ports@,
CC: edd@
I have an upgrade for games/angband to 4.2.6. The patch is relatively
straightforward, as two of the pre-existing patches have been
upstreamed, and the only remaining one is the new one to fix setgid
(committed last week).
I don't know if non-maintainer upgrades are welcome in ports, so
please accept my apologies if this is inappropriate: I simply had
20 minutes on a Sunday afternoon, gave it a shot, and it seemed to
work fine. The port builds the three flavors on -current, and they
install and run OK.
OK?
Regards
Enzo
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/angband/Makefile,v
diff -u -p -r1.42 Makefile
--- Makefile 17 Nov 2026 20:50:10 -0000 1.42
+++ Makefile 23 Nov 2026 09:49:48 -0000
@@ -3,11 +3,10 @@
COMMENT= rogue-like game with X11 support
COMMENT-no_x11= rogue-like game
-V = 4.2.5
+V = 4.2.6
DISTNAME = Angband-${V}
PKGNAME = ${DISTNAME:L}
CATEGORIES= games
-REVISION = 0
HOMEPAGE= http://rephial.org
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/angband/distinfo,v
diff -u -p -r1.11 distinfo
--- distinfo 10 May 2024 20:38:34 -0000 1.11
+++ distinfo 23 Nov 2026 09:49:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (Angband-4.2.5.tar.gz) = xMrL3yj3JvyxoLMLh2MQD7BviNu1cOlVIy5B2D4HGKY=
-SIZE (Angband-4.2.5.tar.gz) = 25734496
+SHA256 (Angband-4.2.6.tar.gz) = jA/6K4XXS9DMJzdS9hwEQNupMyPNeQvkYPkMjc7Xy/Q=
+SIZE (Angband-4.2.6.tar.gz) = 25932904
Index: patches/patch-mk_buildsys_mk_in
===================================================================
RCS file: patches/patch-mk_buildsys_mk_in
diff -N patches/patch-mk_buildsys_mk_in
--- patches/patch-mk_buildsys_mk_in 10 May 2024 20:38:34 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-Print compiler invocations.
-
-Index: mk/buildsys.mk.in
---- mk/buildsys.mk.in.orig
-+++ mk/buildsys.mk.in
-@@ -124,7 +124,6 @@ DEPS = ${OBJS:.o=.dep} \
-
- MO_FILES = ${LOCALES:.po=.mo}
-
--.SILENT:
- .SUFFIXES:
- .SUFFIXES: .amigalib.o .beam .c .cc .class .cxx .d .erl .lib.o .java .mo .m
.mm .o .plugin.o .po .py .pyc .rc .S .xpm
- .PHONY: all subdirs subdirs-after pre-depend depend install install-extra
post-install uninstall uninstall-extra clean pre-clean distclean pre-distclean
locales copy-headers-into-framework ${SUBDIRS} ${SUBDIRS_AFTER}
Index: patches/patch-src_main_c
===================================================================
RCS file: /cvs/ports/games/angband/patches/patch-src_main_c,v
diff -u -p -r1.2 patch-src_main_c
--- patches/patch-src_main_c 17 Nov 2026 20:50:10 -0000 1.2
+++ patches/patch-src_main_c 23 Nov 2026 09:49:48 -0000
@@ -1,6 +1,4 @@
-Avoid crash with -l option when there are no savefiles to list. Fix setgid.
-
-https://github.com/angband/angband/pull/5954/commits/affb9988687d1a6c5fc8a66c60e37f0cf2c632f5
+Fix setgid.
Index: src/main.c
--- src/main.c.orig
@@ -18,19 +16,3 @@ Index: src/main.c
#if !defined(WINDOWS)
#include <langinfo.h>
#endif
-@@ -280,9 +286,13 @@ static void list_saves(void)
- {
- savefile_getter g = NULL;
-
-- if (!got_savefile(&g) && !got_savefile_dir(g)) {
-+ if (!got_savefile(&g)) {
- cleanup_savefile_getter(g);
-- quit_fmt("Cannot open savefile directory");
-+ if (!got_savefile_dir(g)) {
-+ quit_fmt("Cannot open savefile directory");
-+ }
-+ printf("There are no savefiles you can use.\n");
-+ return;
- }
-
- printf("Savefiles you can use are:\n");
Index: pkg/PFRAG.no-no_x11
===================================================================
RCS file: /cvs/ports/games/angband/pkg/PFRAG.no-no_x11,v
diff -u -p -r1.1 PFRAG.no-no_x11
--- pkg/PFRAG.no-no_x11 10 May 2024 20:38:34 -0000 1.1
+++ pkg/PFRAG.no-no_x11 23 Nov 2026 09:49:48 -0000
@@ -5,22 +5,10 @@ share/angband/icons/att-256.png
share/angband/icons/att-32.png
share/angband/icons/att-512.png
share/applications/angband-x11.desktop
-share/icons/
-share/icons/hicolor/
-share/icons/hicolor/128x128/
-share/icons/hicolor/128x128/apps/
share/icons/hicolor/128x128/apps/angband.png
-share/icons/hicolor/16x16/
-share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/angband.png
-share/icons/hicolor/256x256/
-share/icons/hicolor/256x256/apps/
share/icons/hicolor/256x256/apps/angband.png
-share/icons/hicolor/32x32/
-share/icons/hicolor/32x32/apps/
share/icons/hicolor/32x32/apps/angband.png
-share/icons/hicolor/512x512/
-share/icons/hicolor/512x512/apps/
share/icons/hicolor/512x512/apps/angband.png
share/metainfo/
share/metainfo/angband.metainfo.xml
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/angband/pkg/PLIST,v
diff -u -p -r1.19 PLIST
--- pkg/PLIST 10 May 2024 20:38:34 -0000 1.19
+++ pkg/PLIST 23 Nov 2026 09:49:48 -0000
@@ -32,8 +32,6 @@ share/examples/angband/customize/font-x1
@sample ${SYSCONFDIR}/angband/customize/font-x11.prf
share/examples/angband/customize/font.prf
@sample ${SYSCONFDIR}/angband/customize/font.prf
-share/examples/angband/customize/keys-gcu.prf
-@sample ${SYSCONFDIR}/angband/customize/keys-gcu.prf
share/examples/angband/customize/message.prf
@sample ${SYSCONFDIR}/angband/customize/message.prf
share/examples/angband/customize/pref.prf