commit:     e1c3d13d2c03d97f542570d07ef5f08077f7844b
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 16:52:49 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 16:56:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c3d13d

media-gfx/ttfautohint: fix musl build

Closes: https://bugs.gentoo.org/836426
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 .../{ttfautohint-1.8.4-r1.ebuild => ttfautohint-1.8.4-r2.ebuild}       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild 
b/media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild
similarity index 91%
rename from media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild
rename to media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild
index f24247ff6504..15534d9edc17 100644
--- a/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild
+++ b/media-gfx/ttfautohint/ttfautohint-1.8.4-r2.ebuild
@@ -35,6 +35,9 @@ src_prepare() {
        # Don't invoke git to get the version number.
        sed "s|m4_esyscmd.*VERSION)|${PV//_/-}|" -i configure.ac || die
 
+       # musl does not define _Bool for c++, bug #836426
+       sed 's/_Bool/bool/' -i lib/llrb.h || die
+
        eautoreconf
 }
 

Reply via email to