From owner-svn-ports-all@freebsd.org Tue Sep 1 11:50:20 2020 Return-Path: Delivered-To: svn-ports-all@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 DB5013C3AC1; Tue, 1 Sep 2020 11:50:20 +0000 (UTC) (envelope-from vd@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 4BglkN5XcZz4NwZ; Tue, 1 Sep 2020 11:50:20 +0000 (UTC) (envelope-from vd@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 A2F3C18AA7; Tue, 1 Sep 2020 11:50:20 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081BoKMJ064516; Tue, 1 Sep 2020 11:50:20 GMT (envelope-from vd@FreeBSD.org) Received: (from vd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081BoKBs064515; Tue, 1 Sep 2020 11:50:20 GMT (envelope-from vd@FreeBSD.org) Message-Id: <202009011150.081BoKBs064515@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vd set sender to vd@FreeBSD.org using -f From: Vasil Dimov Date: Tue, 1 Sep 2020 11:50:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547265 - head/net-mgmt/iftop/files X-SVN-Group: ports-head X-SVN-Commit-Author: vd X-SVN-Commit-Paths: head/net-mgmt/iftop/files X-SVN-Commit-Revision: 547265 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 11:50:20 -0000 Author: vd Date: Tue Sep 1 11:50:20 2020 New Revision: 547265 URL: https://svnweb.freebsd.org/changeset/ports/547265 Log: net-mgmt/iftop: fix build with -fno-common (clang11/gcc10) PR: 248743 Submitted by: dim MFH: 2020Q3 (build fix) Added: head/net-mgmt/iftop/files/ head/net-mgmt/iftop/files/patch-ui__common.c (contents, props changed) head/net-mgmt/iftop/files/patch-ui__common.h (contents, props changed) Added: head/net-mgmt/iftop/files/patch-ui__common.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/iftop/files/patch-ui__common.c Tue Sep 1 11:50:20 2020 (r547265) @@ -0,0 +1,15 @@ +--- ui_common.c.orig 2014-01-05 18:40:46 UTC ++++ ui_common.c +@@ -17,6 +17,12 @@ + + #include "ui_common.h" + ++sorted_list_type screen_list; ++host_pair_line totals; ++int peaksent, peakrecv, peaktotal; ++hash_type* screen_hash; ++hash_type* service_hash; ++ + /* 2, 10 and 40 seconds */ + int history_divs[HISTORY_DIVISIONS] = {1, 5, 20}; + Added: head/net-mgmt/iftop/files/patch-ui__common.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/iftop/files/patch-ui__common.h Tue Sep 1 11:50:20 2020 (r547265) @@ -0,0 +1,20 @@ +--- ui_common.h.orig 2014-01-01 14:17:08 UTC ++++ ui_common.h +@@ -33,12 +33,12 @@ typedef struct host_pair_line_tag { + + extern options_t options; + +-sorted_list_type screen_list; +-host_pair_line totals; +-int peaksent, peakrecv, peaktotal; ++extern sorted_list_type screen_list; ++extern host_pair_line totals; ++extern int peaksent, peakrecv, peaktotal; + extern history_type history_totals; +-hash_type* screen_hash; +-hash_type* service_hash; ++extern hash_type* screen_hash; ++extern hash_type* service_hash; + + void analyse_data(void); + void screen_list_init(void);