commit:     07aad3b2c6a3a12be810c8e510a9acbddb34dc14
Author:     Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Fri Sep  9 08:23:31 2022 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 08:23:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07aad3b2

sys-devel/bc: fix building with USE=libedit #738602

Closes: https://bugs.gentoo.org/738602
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 sys-devel/bc/bc-1.07.1-r5.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-devel/bc/bc-1.07.1-r5.ebuild b/sys-devel/bc/bc-1.07.1-r5.ebuild
index f9c1a2daa3e5..259b7a108902 100644
--- a/sys-devel/bc/bc-1.07.1-r5.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r5.ebuild
@@ -45,6 +45,9 @@ src_configure() {
        fi
        use static && append-ldflags -static
 
+       # The libedit code isn't compatible currently. #830101
+       use libedit && append-flags -fcommon
+
        # AC_SYS_LARGEFILE in configure.ac would handle this, but we don't patch
        # autotools otherwise currently.  This change has been sent upstream, 
but
        # who knows when they'll make another release.

Reply via email to