[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957974: xdx: ftbfs with GCC-10



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..6fa9ce3
--- /dev/null
+++ b/debian/patches/gcc10.patch
@@ -0,0 +1,25 @@
+Author: Reiner Herrmann <reiner@reiner-h.de>
+Description: Fix FTBFS with GCC 10
+Bug-Debian: https://bugs.debian.org/957974
+
+--- a/src/gui.c
++++ b/src/gui.c
+@@ -70,6 +70,7 @@
+ #include "types.h"
+ #include "utils.h"
+ 
++guitype *gui;
+ 
+ extern preferencestype preferences;
+ 
+--- a/src/gui.h
++++ b/src/gui.h
+@@ -53,7 +53,7 @@
+     gchar           *high8tagname;
+ } guitype;
+ 
+-guitype *gui;
++extern guitype *gui;
+ 
+ guitype *new_gui(void);
+ void create_mainwindow(void);
diff --git a/debian/patches/series b/debian/patches/series
index 2067385..5bc02be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 po-fr
+gcc10.patch

Attachment: signature.asc
Description: PGP signature


Reply to: