Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with GCC 10. Regards, Reiner
diff --git a/debian/patches/gcc10.patch b/debian/patches/gcc10.patch new file mode 100644 index 0000000..1a58bd4 --- /dev/null +++ b/debian/patches/gcc10.patch @@ -0,0 +1,17 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Fix FTBFS with GCC 10 + curwin is declared in different source file. declare it as extern + to fix multiple definition linker error. +Bug-Debian: https://bugs.debian.org/966191 + +--- a/src/locfit/startlf.c ++++ b/src/locfit/startlf.c +@@ -233,7 +233,7 @@ + extern lfit lf; + extern design des; + extern plots pl[]; +-int curwin; ++extern int curwin; + vari *vb; + + INT nofit() diff --git a/debian/patches/series b/debian/patches/series index a478e9a..fd3fe0d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ fix_gcc-7_ftbfs.patch format-security.patch lib_eigen.patch fix_gcc-6.1_issue_in_liblemon_code_copy.patch +gcc10.patch
signature.asc
Description: PGP signature