File: gcc10_build_fix.patch

package info (click to toggle)
glabels 3.4.1-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,824 kB
  • sloc: ansic: 41,310; xml: 10,328; sh: 4,172; makefile: 834
file content (28 lines) | stat: -rw-r--r-- 946 bytes parent folder | download | duplicates (3)
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);