slackbuilds_ponce/misc/ardesia/010-ardesia-gcc10-fix.patch
Andrew Clemons c613b72d67
misc/ardesia: Patch to build on -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-08-14 21:17:57 +07:00

22 lines
403 B
Diff

--- 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"