Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with GCC-10. Regards, -- Luis Paulo (lpfll)
diff -Nru openvas-manager-7.0.3/debian/patches/010_fix-ftbfs-with-gcc-10.patch openvas-manager-7.0.3/debian/patches/010_fix-ftbfs-with-gcc-10.patch --- openvas-manager-7.0.3/debian/patches/010_fix-ftbfs-with-gcc-10.patch 1969-12-31 21:00:00.000000000 -0300 +++ openvas-manager-7.0.3/debian/patches/010_fix-ftbfs-with-gcc-10.patch 2020-08-17 12:24:49.000000000 -0300 @@ -0,0 +1,15 @@ +Description: Fix FTBFS with GCC-10. +Author: Luis Paulo Linares <lpfllina...@gmail.com> +Bug-Debian: https://bugs.debian.org/957646 + +--- openvas-manager-7.0.3.orig/src/manage_sql.c ++++ openvas-manager-7.0.3/src/manage_sql.c +@@ -117,7 +117,7 @@ manage_scap_loaded (); + * + * 1 if set via scheduler, 2 if set via event, else 0. + */ +-int authenticate_allow_all; ++extern int authenticate_allow_all; + + const char *threat_message_type (const char *); + diff -Nru openvas-manager-7.0.3/debian/patches/series openvas-manager-7.0.3/debian/patches/series --- openvas-manager-7.0.3/debian/patches/series 1969-12-31 21:00:00.000000000 -0300 +++ openvas-manager-7.0.3/debian/patches/series 2020-08-17 12:24:49.000000000 -0300 @@ -0,0 +1 @@ +010_fix-ftbfs-with-gcc-10.patch