summarylogtreecommitdiffstats
path: root/010-ardesia-gcc10-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to '010-ardesia-gcc10-fix.patch')
-rw-r--r--010-ardesia-gcc10-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/010-ardesia-gcc10-fix.patch b/010-ardesia-gcc10-fix.patch
new file mode 100644
index 000000000000..c422990195f8
--- /dev/null
+++ b/010-ardesia-gcc10-fix.patch
@@ -0,0 +1,22 @@
+--- a/src/bar.c
++++ b/src/bar.c
+@@ -26,6 +26,8 @@
+ #include <utils.h>
+ #include <bar.h>
+
++GtkBuilder *bar_gtk_builder = NULL;
++
+ /*
+ * Calculate the better position where put the bar.
+ */
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -62,7 +62,7 @@
+
+
+ /* The gtk builder object of the bar window */
+-GtkBuilder *bar_gtk_builder;
++extern GtkBuilder *bar_gtk_builder;
+
+
+ #define PROGRAM_NAME "Ardesia"