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

app-shells/pdmenu: Apply gcc-10 workaround

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

 app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild 
b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
index 55be86bd2f4..272e4ffc8e6 100644
--- a/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
+++ b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="A simple console menu program"
 HOMEPAGE="http://joeyh.name/code/pdmenu/";
@@ -37,6 +37,7 @@ src_prepare() {
 }
 
 src_configure() {
+       append-flags -fcommon
        CC=$(tc-getCC) econf \
                $(use_with gpm) \
                $(use_enable nls)

Reply via email to