I just released Frotz 2.44. It's tagged in Github and will be in its expected spot in the IF Archive mirrors in a few days. For pkg-descr, please add https://github.com/DavidGriffith/frotz/wiki or https://github.com/DavidGriffith/frotz/ as I'm moving away from Sourceforge. Also, https://www.freebsd.org/ports/games.html references Frotz 2.43d when what is currently installed in 2.44pre.
There's a patch which fixes this compilation error: src/curses/ux_audio_oss.c:83:13: error: static declaration of 'sigint_handler' follows non-static declaration https://svnweb.freebsd.org/ports/head/games/frotz/files/patch-src_curses_ux__audio__oss.c?revision=374061&view=co Is the patch correct? Could it be merged upstream?
A commit references this bug: Author: amdmi3 Date: Tue May 26 18:50:10 UTC 2015 New revision: 387511 URL: https://svnweb.freebsd.org/changeset/ports/387511 Log: - Update to 2.44 PR: 200354 Submitted by: bugs@661.org (upstream maintainer) Changes: head/games/frotz/Makefile head/games/frotz/distinfo head/games/frotz/pkg-descr
I've added Dmitri's patch and tidied up OSS audio output a bit just for yuks. At this point, OSS output in Frotz is deprecated. I'm aware of only two games that use old-style sound output: "Sherlock" and "Lurking Horror", both by Infocom. Everything else uses Blorb files. This release does use Blorb files, but only for the game file. The audio overhaul I'm working on uses libao for output, libsndfile, libogg, and libmodplug for file input, and Blorb for packaging up game file, sound, and so on.
Nice, thank you. Also note that there's probably problem with these signal handlers as you have two of them, and if you set one for oss, it replaces main one (sigint_handler). Haven't really checked, but this is likely.