From 2a59726f1851120d406171618615acfce16c2d28 Mon Sep 17 00:00:00 2001 From: Ingo Paschke Date: Sun, 3 May 2026 17:48:22 +0200 Subject: [PATCH] Amiga: disable SYSCF, drop sysconf from package SYSCF is for multi-user system-admin lockdown; single-user Amigas don't need it, and assure_syscf_file() killing the binary when run outside NetHack: was breaking normal launches. --- include/amiconf.h | 3 +++ sys/unix/hints/include/cross-post.500 | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/amiconf.h b/include/amiconf.h index 17b03c2eb..a362c94f8 100644 --- a/include/amiconf.h +++ b/include/amiconf.h @@ -212,4 +212,7 @@ struct ami_sysflags { }; extern struct ami_sysflags sysflags; +#undef SYSCF +#undef SYSCF_FILE + #endif /* AMICONF_H */ diff --git a/sys/unix/hints/include/cross-post.500 b/sys/unix/hints/include/cross-post.500 index f4f236e2f..8e67cfa4f 100644 --- a/sys/unix/hints/include/cross-post.500 +++ b/sys/unix/hints/include/cross-post.500 @@ -318,7 +318,6 @@ amigapkg: $(AMITILES) ../util/uudecode cp $(TARGETPFX)tiles16.iff $(TARGETPFX)pkg/tiles/tiles16.iff cp $(TARGETPFX)tiles32.iff $(TARGETPFX)pkg/tiles/tiles32.iff cp $(TARGETPFX)tomb.iff $(TARGETPFX)pkg/tomb.iff - cp ../sys/msdos/sysconf $(TARGETPFX)pkg/sysconf cp ../doc/nethack.txt $(TARGETPFX)pkg/nethack.txt ( cd $(TARGETPFX)pkg && ../../../util/uudecode ../../../sys/amiga/amifont8.uu && mv 8 hack/8 ) ( cd $(TARGETPFX)pkg && ../../../util/uudecode ../../../sys/amiga/amifont.uu )