1 |
commit: e1c3d13d2c03d97f542570d07ef5f08077f7844b |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 16:52:49 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 16:56:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c3d13d |
7 |
|
8 |
media-gfx/ttfautohint: fix musl build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/836426 |
11 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
12 |
|
13 |
.../{ttfautohint-1.8.4-r1.ebuild => ttfautohint-1.8.4-r2.ebuild} | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild b/media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild |
17 |
similarity index 91% |
18 |
rename from media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild |
19 |
rename to media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild |
20 |
index f24247ff6504..15534d9edc17 100644 |
21 |
--- a/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild |
22 |
+++ b/media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild |
23 |
@@ -35,6 +35,9 @@ src_prepare() { |
24 |
# Don't invoke git to get the version number. |
25 |
sed "s|m4_esyscmd.*VERSION)|${PV//_/-}|" -i configure.ac || die |
26 |
|
27 |
+ # musl does not define _Bool for c++, bug #836426 |
28 |
+ sed 's/_Bool/bool/' -i lib/llrb.h || die |
29 |
+ |
30 |
eautoreconf |
31 |
} |