You may need to try the recent version from GIT. In Debian I applied the following commits to be able to build with GCC-15: https://sourceforge.net/p/mcj/xfig/ci/0913c4d https://sourceforge.net/p/mcj/xfig/ci/c34a1b3 https://sourceforge.net/p/mcj/xfig/ci/530c92f https://sourceforge.net/p/mcj/xfig/ci/06ee25c https://sourceforge.net/p/mcj/xfig/ci/70f5cd5 https://sourceforge.net/p/mcj/xfig/ci/92a8262 https://sourceforge.net/p/mcj/xfig/ci/d7c3677 https://sourceforge.net/p/mcj/xfig/ci/e0379d7 https://...
htmldoc 1.9.22 breaks on drawing.html (patch)
CVE-2025-31164
CVE-2025-31163
CVE-2025-31162
The attached patch should fix the above mentioned problem with true/false variable names. Using this with in combination with current GIT tree allows to compile xfig with GCC 15.
I just noticed, that Mario Haustein already fixed the prototypes in GIT. But when I try to build the GIT version with GCC-15, I still run into the following error: main.c:123:17: error: expected identifier or '(' before 'true' 123 | static Boolean true = True; | ^~~~ main.c:124:17: error: expected identifier or '(' before 'false' 124 | static Boolean false = False; | ^~~~~ main.c:198:66: error: lvalue required as unary '&' operand 198 | XtOffset(appresPtr, allownegcoords), XtRBoolean, (caddr_t) &...
fig2dev: incompatible with GCC 15 C23 standard