This patch fixes a core dump in printing
It is against xfig-3.2.9a because the dev build does not compile for me right now
but it applies there at offset 3 and it is way trivial.
My walkthrough, from just now (Requirements: autoconf must be installed):
navigate in the top row of tabs to git -> xfig,
click on "Download Snapshot"
unzip mcj-xfig-759509...zip
mv mcj-xfig-* xf
cd xf
autoreconf -i
./configure CC=clang CFLAGS="-O0 -glldb -Wall -Wpedantic -Wextra"
make -sj
For compilation I use either gcc or clang, -glldb would in the first case be -ggdb, or -g. Sometimes I add instrumentation, -fsanitize=address, then removing -g. After that, cd src, ./xfig should work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This patch fixes a core dump in printing
It is against xfig-3.2.9a because the dev build does not compile for me right now
but it applies there at offset 3 and it is way trivial.
I think I do not have the correct dev branch.
Can you point me to where it is.
My walkthrough, from just now (Requirements: autoconf must be installed):
navigate in the top row of tabs to git -> xfig,
click on "Download Snapshot"
unzip mcj-xfig-759509...zip
mv mcj-xfig-* xf
cd xf
autoreconf -i
./configure CC=clang CFLAGS="-O0 -glldb -Wall -Wpedantic -Wextra"
make -sj
For compilation I use either gcc or clang, -glldb would in the first case be -ggdb, or -g. Sometimes I add instrumentation, -fsanitize=address, then removing -g. After that, cd src, ./xfig should work.