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..e24631a --- /dev/null +++ b/debian/patches/gcc10.patch @@ -0,0 +1,18 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Fix FTBFS with GCC 10 + Drop two pointer declarations that are already known via + main.h, where they are correctly declared as extern. +Bug-Debian: https://bugs.debian.org/957760 + +--- a/src/callbacks.c ++++ b/src/callbacks.c +@@ -25,9 +25,6 @@ + #include "main.h" + #include "xml.h" + +-GtkWidget *windowPreferences; +-GtkWidget *windowAbout; +- + void updateGUI(int adr, gchar *new_text); + + void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data) diff --git a/debian/patches/series b/debian/patches/series index 595a4c9..b51c577 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 01_fix_desktop_file.patch 02_configure.in-preserve-CFLAGS.patch 03_fix-format-security-errors.patch +gcc10.patch
signature.asc
Description: PGP signature