1 |
commit: 07aad3b2c6a3a12be810c8e510a9acbddb34dc14 |
2 |
Author: Mike Frysinger <vapier <AT> chromium <DOT> org> |
3 |
AuthorDate: Fri Sep 9 08:23:31 2022 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 08:23:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07aad3b2 |
7 |
|
8 |
sys-devel/bc: fix building with USE=libedit #738602 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738602 |
11 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
12 |
|
13 |
sys-devel/bc/bc-1.07.1-r5.ebuild | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/bc/bc-1.07.1-r5.ebuild b/sys-devel/bc/bc-1.07.1-r5.ebuild |
17 |
index f9c1a2daa3e5..259b7a108902 100644 |
18 |
--- a/sys-devel/bc/bc-1.07.1-r5.ebuild |
19 |
+++ b/sys-devel/bc/bc-1.07.1-r5.ebuild |
20 |
@@ -45,6 +45,9 @@ src_configure() { |
21 |
fi |
22 |
use static && append-ldflags -static |
23 |
|
24 |
+ # The libedit code isn't compatible currently. #830101 |
25 |
+ use libedit && append-flags -fcommon |
26 |
+ |
27 |
# AC_SYS_LARGEFILE in configure.ac would handle this, but we don't patch |
28 |
# autotools otherwise currently. This change has been sent upstream, but |
29 |
# who knows when they'll make another release. |