commit:     8e061364b8c461419cbf03aaa7a98b691cbe580b
Author:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  6 19:18:47 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 19:18:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e061364

app-arch/dump: Apply gcc-10 workaround

Quoting upstream:
> Mike Frysinger - 5 days ago
> the codebase is a mess and not worth my time to untangle, so i just
> added -fcommon to the configure script's CFLAGS

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

 app-arch/dump/dump-0.4.46-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index c768fa8534d..1ebc6f99374 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 MY_P="${PN}-$(ver_rs 2 b)"
 S=${WORKDIR}/${MY_P}
 DESCRIPTION="Dump/restore ext2fs backup utilities"
@@ -53,6 +55,8 @@ PATCHES=(
 )
 
 src_configure() {
+       append-flags -fcommon
+
        local myeconfargs=(
                --with-dumpdatespath=/etc/dumpdates
                --with-rmtpath='$(sbindir)/rmt'

Reply via email to