1 |
commit: 3d9ac4116142cf74cd8a37906d70a778bdd82569 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 30 02:01:02 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 30 02:01:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9ac411 |
7 |
|
8 |
sys-apps/groff: fix build failure on musl |
9 |
|
10 |
Give configure a hint for now until a release of groff |
11 |
is made with updated gnulib upstream. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/678026 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-apps/groff/groff-1.22.4.ebuild | 8 ++++++++ |
17 |
1 file changed, 8 insertions(+) |
18 |
|
19 |
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild |
20 |
index 722ce444a7f..a8d2517a24c 100644 |
21 |
--- a/sys-apps/groff/groff-1.22.4.ebuild |
22 |
+++ b/sys-apps/groff/groff-1.22.4.ebuild |
23 |
@@ -62,6 +62,14 @@ src_prepare() { |
24 |
} |
25 |
|
26 |
src_configure() { |
27 |
+ if use elibc_musl ; then |
28 |
+ # This should be safe to drop in the release after 1.22.4 |
29 |
+ # gnulib was rather out of date and didn't include musl in its |
30 |
+ # CHOST checks. |
31 |
+ # bug #678026 |
32 |
+ export gl_cv_func_signbit_gcc=yes |
33 |
+ fi |
34 |
+ |
35 |
local myeconfargs=( |
36 |
--with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults |
37 |
$(use_with uchardet) |