On Mon, Feb 24, 2025 at 07:09:01PM -0300, Pablo Lucas Silva Santos wrote: > --- ygl-4.2e.orig/fortran.c > +++ ygl-4.2e/fortran.c > @@ -8,6 +8,12 @@ static const char vcid[] = "$Id: fortran > > #include "header.h" /* for COVERSLEEP & string.h */ > > +extern Display *getXdpy ( void ); > +extern Window getXwid ( void ); > +extern Window getXdid ( void ); > +extern GC getXgc ( void ); > +extern Int32 winX ( Display *, Window ); > +
Duplicating these in fortran.c seems to make little sense. Ygl.h defines them, if the preconditions are correctly met. To me this seems to mean there is another build problem and your patch just hides that. Chris