SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
comms/lcdproc/patches/patch-clients_lcdproc_iface_h
Normal file
17
comms/lcdproc/patches/patch-clients_lcdproc_iface_h
Normal file
|
@ -0,0 +1,17 @@
|
|||
From 084126b03f29b33ab3e657c66e8c6a439f27f8e1 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Geyer <harald@ccbib.org>
|
||||
Date: Mon, 10 Feb 2020 13:15:10 +0100
|
||||
Subject: [PATCH] Fix compilation with GCC >= 10.x
|
||||
|
||||
Index: clients/lcdproc/iface.h
|
||||
--- clients/lcdproc/iface.h.orig
|
||||
+++ 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 */
|
||||
+extern IfaceInfo iface[MAX_INTERFACES]; /* interface info */
|
||||
|
||||
/** Update screen content */
|
||||
int iface_screen(int rep, int display, int *flags_ptr);
|
Loading…
Add table
Add a link
Reference in a new issue