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 92ABE138350 for ; Wed, 5 Feb 2020 15:30:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D83ADE0C34; Wed, 5 Feb 2020 15:30:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C1841E0C34 for ; Wed, 5 Feb 2020 15:30:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D96DB34DC5C for ; Wed, 5 Feb 2020 15:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BAE637 for ; Wed, 5 Feb 2020 15:30:51 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1580916635.e079e3cc9126887c71f1cd7130157e17c1ea31ac.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/suricata/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/suricata/suricata-5.0.1.ebuild X-VCS-Directories: net-analyzer/suricata/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: e079e3cc9126887c71f1cd7130157e17c1ea31ac X-VCS-Branch: master Date: Wed, 5 Feb 2020 15:30:51 +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: 93bc5ff9-1dd9-42f9-a915-7ffc3f403a5f X-Archives-Hash: cb65edcbb2a33289d16767aa42bfef74 commit: e079e3cc9126887c71f1cd7130157e17c1ea31ac Author: Marek Szuba gentoo org> AuthorDate: Wed Feb 5 15:29:31 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Feb 5 15:30:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e079e3cc net-analyzer/suricata: build with -fno-common / gcc-10 Tried fixing the code but it turns out it would require a non-trivial amount of changes so let's just force -fcommon. Tested using gcc-9 with -fno-common included in CFLAGS. Closes: https://bugs.gentoo.org/707204 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Marek Szuba gentoo.org> net-analyzer/suricata/suricata-5.0.1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net-analyzer/suricata/suricata-5.0.1.ebuild b/net-analyzer/suricata/suricata-5.0.1.ebuild index 67694740597..d09d4b1a984 100644 --- a/net-analyzer/suricata/suricata-5.0.1.ebuild +++ b/net-analyzer/suricata/suricata-5.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit autotools linux-info python-single-r1 systemd +inherit autotools flag-o-matic linux-info python-single-r1 systemd DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" HOMEPAGE="https://suricata-ids.org/" @@ -71,6 +71,9 @@ pkg_pretend() { } src_prepare() { + # Bug #707204 + append-cflags $(test-flags-CC -fcommon) + default sed -ie 's/docdir =.*/docdir = ${datarootdir}\/doc\/'${PF}'\//' "${S}/doc/Makefile.am" eautoreconf