Control: tags 957995 + pending Dear maintainer,
I've prepared an NMU for xscorch (versioned as 0.2.1-1+nmu3) and uploaded it to mentors to be sponsored. Please feel free to tell me if I should remove it. A debdiff showing all changes is attatched. Regards, -- Luis Paulo (lpfll)
diff -Nru xscorch-0.2.1/debian/changelog xscorch-0.2.1/debian/changelog --- xscorch-0.2.1/debian/changelog 2020-07-02 09:57:17.000000000 -0300 +++ xscorch-0.2.1/debian/changelog 2020-08-05 01:00:19.000000000 -0300 @@ -1,3 +1,11 @@ +xscorch (0.2.1-1+nmu4) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/gcc10.patch: fix a FTBFS witch gcc 10. Thanks to + Reiner Herrmann <rei...@reiner-h.de>. (Closes: #957995) + + -- Luis Paulo Linares <lpfllina...@gmail.com> Wed, 05 Aug 2020 01:00:19 -0300 + xscorch (0.2.1-1+nmu3) unstable; urgency=medium * Non-maintainer upload. 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 1969-12-31 21:00:00.000000000 -0300 +++ xscorch-0.2.1/debian/patches/gcc10.patch 2020-08-05 01:00:19.000000000 -0300 @@ -0,0 +1,29 @@ +Description: Fix FTBFS with GCC 10 +Author: Reiner Herrmann <rei...@reiner-h.de> +Bug-Debian: https://bugs.debian.org/957995 +Last-Update: 2020-08-05 +Index: xscorch-0.2.1/sgame/slscape.c +=================================================================== +--- xscorch-0.2.1.orig/sgame/slscape.c ++++ xscorch-0.2.1/sgame/slscape.c +@@ -56,6 +56,7 @@ static double _sc_lscape_eval_plains(dou + 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) { +Index: xscorch-0.2.1/sgame/slscape.h +=================================================================== +--- xscorch-0.2.1.orig/sgame/slscape.h ++++ xscorch-0.2.1/sgame/slscape.h +@@ -64,7 +64,7 @@ void sc_lscape_setup(const struct _sc_co + + /* 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 11:36:36.000000000 -0300 +++ xscorch-0.2.1/debian/patches/series 2020-08-05 01:00:19.000000000 -0300 @@ -1,2 +1,3 @@ overlapping-memcpy gdk-include +gcc10.patch