View | Details | Raw Unified | Return to bug 249964
Collapse All | Expand All

(-)sysutils/lcdproc/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
ONLY_FOR_ARCHS=	i386 amd64
15
ONLY_FOR_ARCHS=	amd64 i386
16
16
17
USES=		autoreconf pkgconfig
17
USES=		autoreconf pkgconfig
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
(-)sysutils/lcdproc/files/patch-clients__lcdproc__iface.c (+10 lines)
Line 0 Link Here
1
--- clients/lcdproc/iface.c.orig	2020-09-28 23:25:01.655900000 +0200
2
+++ clients/lcdproc/iface.c	2020-09-28 23:25:27.294816000 +0200
3
@@ -37,6 +37,7 @@
4
 static char unit_label[10] = "B";	/* default unit label is Bytes */
5
 static int transfer_screen = 0;	/* by default, transfer screen is not shown */
6
 
7
+IfaceInfo iface[MAX_INTERFACES]; /* interface info */
8
 
9
 /** Reads and parses configuration file.
10
  * \return  0 on success, -1 on error
(-)sysutils/lcdproc/files/patch-clients__lcdproc__iface.h (+11 lines)
Line 0 Link Here
1
--- clients/lcdproc/iface.h.orig	2020-09-28 23:24:28.536083000 +0200
2
+++ clients/lcdproc/iface.h	2020-09-28 23:24:52.494772000 +0200
3
@@ -18,7 +18,7 @@
4
 /** max number of interfaces in multi-interface mode */
5
 #define MAX_INTERFACES 3
6
 
7
-IfaceInfo iface[MAX_INTERFACES];	/* interface info */
8
+extern IfaceInfo iface[MAX_INTERFACES];	/* interface info */
9
 
10
 /** Update screen content */
11
 int iface_screen(int rep, int display, int *flags_ptr);

Return to bug 249964