Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with GCC 10. Regards, Reiner
diff -Nru xscorch-0.2.1/debian/patches/gcc10.patch xscorch-0.2.1/debian/patches/gcc10.patch --- xscorch-0.2.1/debian/patches/gcc10.patch 1970-01-01 01:00:00.000000000 +0100 +++ xscorch-0.2.1/debian/patches/gcc10.patch 2020-07-23 22:53:14.000000000 +0200 @@ -0,0 +1,25 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Fix FTBFS with GCC 10 +Bug-Debian: https://bugs.debian.org/957995 + +--- a/sgame/slscape.c ++++ b/sgame/slscape.c +@@ -56,6 +56,7 @@ + static double _sc_lscape_eval_traditional(double x); + static double _sc_lscape_eval_valley(double x); + ++double (*_sc_lscape_eval)(double x); + + + static double _sc_lscape_eval_none(__libj_unused double x) { +--- a/sgame/slscape.h ++++ b/sgame/slscape.h +@@ -64,7 +64,7 @@ + + /* Interface to the profile evaluating function */ + #define sc_lscape_eval(x) ((*_sc_lscape_eval)(x)) +-double (*_sc_lscape_eval)(double x); ++extern double (*_sc_lscape_eval)(double x); + + + #endif /* __slscape_h_included */ diff -Nru xscorch-0.2.1/debian/patches/series xscorch-0.2.1/debian/patches/series --- xscorch-0.2.1/debian/patches/series 2018-03-31 16:36:36.000000000 +0200 +++ xscorch-0.2.1/debian/patches/series 2020-07-23 22:52:02.000000000 +0200 @@ -1,2 +1,3 @@ overlapping-memcpy gdk-include +gcc10.patch
signature.asc
Description: PGP signature