Menu

Here is a fix for printing

Don Wooton
2026-07-11
2026-07-12
  • Don Wooton

    Don Wooton - 2026-07-11

    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.

    • Don
     
  • Don Wooton

    Don Wooton - 2026-07-11

    I think I do not have the correct dev branch.
    Can you point me to where it is.

    • Don
     
  • tkl

    tkl - 2026-07-12

    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.

     

Log in to post a comment.