1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# Description: build fix from gitlab for gcc10
# Upstream: https://gitlab.gnome.org/GNOME/glabels/-/issues/1
#
diff -up glabels-3.4.1/src/font-history.h.f32 glabels-3.4.1/src/font-history.h
--- glabels-3.4.1/src/font-history.h.f32 2016-03-04 05:01:15.000000000 +0100
+++ glabels-3.4.1/src/font-history.h 2020-02-03 08:41:46.371176433 +0100
@@ -28,7 +28,7 @@
G_BEGIN_DECLS
-glFontHistoryModel *gl_font_history;
+extern glFontHistoryModel *gl_font_history;
void gl_font_history_init (void);
diff -up glabels-3.4.1/src/template-history.h.f32 glabels-3.4.1/src/template-history.h
--- glabels-3.4.1/src/template-history.h.f32 2016-03-04 05:01:15.000000000 +0100
+++ glabels-3.4.1/src/template-history.h 2020-02-03 08:42:28.547175850 +0100
@@ -28,7 +28,7 @@
G_BEGIN_DECLS
-glTemplateHistoryModel *gl_template_history;
+extern glTemplateHistoryModel *gl_template_history;
void gl_template_history_init (void);
|