falconseye: fix file saving by disabling compression

from espie (maintainer)
This commit is contained in:
tb
2026-06-05 20:18:03 +00:00
parent 007838f9fe
commit c35214f63c
2 changed files with 12 additions and 2 deletions
+1 -2
View File
@@ -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
@@ -14,7 +14,6 @@ MAINTAINER = Marc Espie <espie@openbsd.org>
PERMIT_PACKAGE= Yes
WANTLIB += SDL c curses m pthread
#WANTLIB = X11 Xext c curses m pthread usbhid xcb SDL
SITES = ${SITE_SOURCEFORGE:=falconseye/}
@@ -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));