Bug#1075698: Patch to ygl package (fixing gcc-14 bug)

2025-02-24 Thread Pablo Lucas Silva Santos
Hi There, On 24/02/2025 20:01, Pablo Lucas Silva Santos wrote: Hi Chris, Ty to see the patch, On 24/02/2025 19:31, Chris Hofstaedtler wrote: 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 i

Bug#1075698: Patch to ygl package (fixing gcc-14 bug)

2025-02-24 Thread Pablo Lucas Silva Santos
Hi Chris, Ty to see the patch, On 24/02/2025 19:31, Chris Hofstaedtler wrote: 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 C

Bug#1075698: Patch to ygl package (fixing gcc-14 bug)

2025-02-24 Thread Chris Hofstaedtler
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 ); > +ex

Bug#1075698: Patch to ygl package (fixing gcc-14 bug)

2025-02-24 Thread Pablo Lucas Silva Santos
Hi there, I have worked on this Bug and learning about gcc-14 changes, I saw that the new version of gcc needs to declare implicit functions that was unnecessary on older version of gcc [1]. I'm attaching a patch with the solution and I'll add a tag for Bug, let me see if I help with something