From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A8661382C5 for ; Mon, 17 May 2021 00:39:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BC76E0815; Mon, 17 May 2021 00:39:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E67CAE0815 for ; Mon, 17 May 2021 00:39:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC096340F1D for ; Mon, 17 May 2021 00:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38BB678E for ; Mon, 17 May 2021 00:39:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1621211952.4a295fd356b468d49f7b4e611b0d9d116f32b0f4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/vnstat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/vnstat/vnstat-1.17-r1.ebuild X-VCS-Directories: net-analyzer/vnstat/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4a295fd356b468d49f7b4e611b0d9d116f32b0f4 X-VCS-Branch: master Date: Mon, 17 May 2021 00:39:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 83cb88ef-d137-48d5-bfa2-aa9328d7dc84 X-Archives-Hash: 25151062eaf8cbfd1cbe96b20080696b commit: 4a295fd356b468d49f7b4e611b0d9d116f32b0f4 Author: Sam James gentoo org> AuthorDate: Mon May 17 00:39:12 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 17 00:39:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a295fd3 net-analyzer/vnstat: fix 1.17 with GCC 10 Signed-off-by: Sam James gentoo.org> net-analyzer/vnstat/vnstat-1.17-r1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net-analyzer/vnstat/vnstat-1.17-r1.ebuild b/net-analyzer/vnstat/vnstat-1.17-r1.ebuild index fceff0f93ca..8aa25d8a327 100644 --- a/net-analyzer/vnstat/vnstat-1.17-r1.ebuild +++ b/net-analyzer/vnstat/vnstat-1.17-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/teemutoivola.asc -inherit toolchain-funcs verify-sig +inherit flag-o-matic toolchain-funcs verify-sig DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage" HOMEPAGE="https://humdi.net/vnstat/" @@ -43,6 +43,15 @@ src_prepare() { src/common.h || die } +src_configure() { + tc-export CC + + # Fails to build with GCC 10 + append-flags -fcommon + + default +} + src_compile() { emake ${PN} ${PN}d $(usex gd ${PN}i '') }