commit:     fea1183314e45249d36cbd81d547701da06b31d5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  4 20:29:24 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul  4 20:29:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea11833

sys-fs/ufsutils: add -fcommon workaround

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/706696
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-fs/ufsutils/ufsutils-8.2_p3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild 
b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
index 4f614d470df..92d1b917e8d 100644
--- a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
+++ b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=4
 
-inherit eutils toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="FFS/UFS/UFS2 filesystem utilities from FreeBSD"
 HOMEPAGE="http://packages.debian.org/source/sid/ufsutils";
@@ -38,6 +38,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # globals are defined in header files and reused in multiple final
+       # binaries. bug #706696
+       append-cflags -fcommon
+
        tc-export AR CC
 }
 

Reply via email to