From owner-svn-ports-head@freebsd.org Mon Jan 4 15:55:10 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 222C74D9CFB; Mon, 4 Jan 2021 15:55:10 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8gFB0VqLz4vrT; Mon, 4 Jan 2021 15:55:10 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 03CBD1CB40; Mon, 4 Jan 2021 15:55:10 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 104Ft9ut054364; Mon, 4 Jan 2021 15:55:09 GMT (envelope-from olivier@FreeBSD.org) Received: (from olivier@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 104Ft9oo054363; Mon, 4 Jan 2021 15:55:09 GMT (envelope-from olivier@FreeBSD.org) Message-Id: <202101041555.104Ft9oo054363@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivier set sender to olivier@FreeBSD.org using -f From: Olivier Cochard Date: Mon, 4 Jan 2021 15:55:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560304 - head/sysutils/lcdproc/files X-SVN-Group: ports-head X-SVN-Commit-Author: olivier X-SVN-Commit-Paths: head/sysutils/lcdproc/files X-SVN-Commit-Revision: 560304 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 15:55:10 -0000 Author: olivier Date: Mon Jan 4 15:55:09 2021 New Revision: 560304 URL: https://svnweb.freebsd.org/changeset/ports/560304 Log: Fix build with -fno-common PR: 249964 Added: head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.c (contents, props changed) head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.h (contents, props changed) Added: head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.c Mon Jan 4 15:55:09 2021 (r560304) @@ -0,0 +1,10 @@ +--- clients/lcdproc/iface.c.orig 2020-09-28 23:25:01.655900000 +0200 ++++ clients/lcdproc/iface.c 2020-09-28 23:25:27.294816000 +0200 +@@ -37,6 +37,7 @@ + static char unit_label[10] = "B"; /* default unit label is Bytes */ + static int transfer_screen = 0; /* by default, transfer screen is not shown */ + ++IfaceInfo iface[MAX_INTERFACES]; /* interface info */ + + /** Reads and parses configuration file. + * \return 0 on success, -1 on error Added: head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lcdproc/files/patch-clients__lcdproc__iface.h Mon Jan 4 15:55:09 2021 (r560304) @@ -0,0 +1,11 @@ +--- clients/lcdproc/iface.h.orig 2020-09-28 23:24:28.536083000 +0200 ++++ clients/lcdproc/iface.h 2020-09-28 23:24:52.494772000 +0200 +@@ -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);