File: fix-gcc-10

package info (click to toggle)
lcdproc 0.5.9-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,080 kB
  • sloc: ansic: 59,645; sh: 1,740; perl: 681; makefile: 414
file content (16 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix compilation with gcc 10
 Tweak source to compile with gcc 10.
Bug-Debian: https://bugs.debian.org/957418
Author: dod
Applied-Upstream: https://github.com/lcdproc/lcdproc/commit/084126b03f29b33ab3e657c66e8c6a439f27f8e1
--- a/clients/lcdproc/iface.h
+++ b/clients/lcdproc/iface.h
@@ -18,7 +18,7 @@
 /** max number of interfaces in multi-interface mode */
 #define MAX_INTERFACES 3
 
-IfaceInfo iface[MAX_INTERFACES];	/* interface info */
+IfaceInfo iface[MAX_INTERFACES] __attribute__((common));	/* interface info */
 
 /** Update screen content */
 int iface_screen(int rep, int display, int *flags_ptr);