Index | Thread | Search

From:
Marc Espie <marc.espie.openbsd@gmail.com>
Subject:
work-around for falconseye saves
To:
ports@openbsd.org
Date:
Fri, 5 Jun 2026 16:14:36 +0200

Download raw body.

Thread
  • Marc Espie:

    work-around for falconseye saves

compressing save files doesn't work, and it's a bitch to debug
thanks to the sgid/forking model of falconseye.

The simplest fix is to disable compression. The save files aren't
that large anyway

Index: Makefile
===================================================================
RCS file: /build/data/openbsd/cvs/ports/games/falconseye/Makefile,v
diff -u -p -r1.36 Makefile
--- Makefile	4 Jun 2026 13:17:56 -0000	1.36
+++ Makefile	5 Jun 2026 14:12:51 -0000
@@ -3,7 +3,7 @@ COMMENT =	NetHack derivative
 VERSION =	1.9.3
 DISTNAME =	nethack_source_331_jtp_${VERSION:S/.//g}
 PKGNAME =	falconseye-${VERSION}
-REVISION =	11
+REVISION =	12
 CATEGORIES =	games x11
 EXTRACT_SUFX =	.zip
 
Index: patches/patch-src_files_c
===================================================================
RCS file: patches/patch-src_files_c
diff -N patches/patch-src_files_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_files_c	5 Jun 2026 14:10:59 -0000
@@ -0,0 +1,11 @@
+Index: src/files.c
+--- src/files.c.orig
++++ src/files.c
+@@ -95,6 +95,7 @@ extern int n_dgns;		/* from dungeon.c */
+ 
+ STATIC_DCL char *FDECL(set_bonesfile_name, (char *,d_level*));
+ STATIC_DCL char *NDECL(set_bonestemp_name);
++#undef COMPRESS
+ #ifdef COMPRESS
+ STATIC_DCL void FDECL(redirect, (char *,char *,FILE *,BOOLEAN_P));
+ STATIC_DCL void FDECL(docompress_file, (char *,BOOLEAN_P));