commit:     34c0ed5e5c20122242967aa6a274fdb475cf2949
Author:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  6 19:11:43 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 19:11:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c0ed5e

app-admin/sagan: Apply gcc-10 workaround

Closes: https://bugs.gentoo.org/706882
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>

 app-admin/sagan/sagan-1.0.0_rc3-r1.ebuild | 8 +++++---
 app-admin/sagan/sagan-1.0.0_rc3.ebuild    | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-admin/sagan/sagan-1.0.0_rc3-r1.ebuild 
b/app-admin/sagan/sagan-1.0.0_rc3-r1.ebuild
index 4156492fe77..c9406818811 100644
--- a/app-admin/sagan/sagan-1.0.0_rc3-r1.ebuild
+++ b/app-admin/sagan/sagan-1.0.0_rc3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ EAPI=5
 AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
-inherit eutils autotools-utils user
+inherit eutils autotools-utils user flag-o-matic
 
 DESCRIPTION="Sagan is a multi-threaded, real time system and event log 
monitoring system"
 HOMEPAGE="http://sagan.quadrantsec.com/";
@@ -51,7 +51,9 @@ pkg_setup() {
 }
 
 src_configure() {
-        local myeconfargs=(
+       append-flags -fcommon
+
+       local myeconfargs=(
                $(use_enable smtp esmtp)
                $(use_enable lognorm)
                $(use_enable libdnet)

diff --git a/app-admin/sagan/sagan-1.0.0_rc3.ebuild 
b/app-admin/sagan/sagan-1.0.0_rc3.ebuild
index da136ef46dc..2fe8dd00f3c 100644
--- a/app-admin/sagan/sagan-1.0.0_rc3.ebuild
+++ b/app-admin/sagan/sagan-1.0.0_rc3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ EAPI=5
 AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
-inherit eutils autotools-utils user
+inherit eutils autotools-utils user flag-o-matic
 
 DESCRIPTION="Sagan is a multi-threaded, real time system and event log 
monitoring system"
 HOMEPAGE="http://sagan.quadrantsec.com/";
@@ -46,7 +46,9 @@ pkg_setup() {
 }
 
 src_configure() {
-        local myeconfargs=(
+       append-flags -fcommon
+
+       local myeconfargs=(
                $(use_enable smtp esmtp)
                $(use_enable lognorm)
                $(use_enable libdnet)

Reply via email to