xfig 3.2.9 changed the placeholder for the file to be spell checked from %s to %f, but the documentation and default still say %s:
$ rg "spell %s"
doc/xfig.man.in
979:Default is ``spell %s''.
1270:spellcheckcommand string spell %s \-spellcheckcommand
doc/xfig_man.html.in
1674:‘‘spell %s’’.</p>
3170:<p>spell %s</p></td>
src/resources.h
194: "spell %s" or "ispell -l < %s | sort -u" */
In the above lines, all instances of %s should be corrected to %f to match the implementation.
Full patch attached.
I'd also suggest considering
or
as a modern default for the spell check command on Linux.
I consulted with debian popularity contest and noticed that, indeed, the enchant2 and aspell packages are quite frequently installed and used. Enchant and ispell or spell seem obsolete or even unmaintained. I will happily apply your patch.
Is it OK to name you as the author in the commit message?