commit: 12a06d251b46508008b2c82c02a37f16a7cb9331 Author: Matthew Smith <matthew <AT> gentoo <DOT> org> AuthorDate: Thu Sep 15 14:48:43 2022 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Thu Sep 15 14:49:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a06d25
dev-lang/nasm: replace obsolete font name when building docs Closes: https://bugs.gentoo.org/870214 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> dev-lang/nasm/nasm-2.15.05.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-lang/nasm/nasm-2.15.05.ebuild b/dev-lang/nasm/nasm-2.15.05.ebuild index 1982975e49b1..95e1d21fe3f0 100644 --- a/dev-lang/nasm/nasm-2.15.05.ebuild +++ b/dev-lang/nasm/nasm-2.15.05.ebuild @@ -32,6 +32,15 @@ PATCHES=( "${FILESDIR}"/${PN}-2.15-bsd-cp-doc.patch ) +src_prepare() { + default + + # https://bugs.gentoo.org/870214 + # During the split of media-fonts/source-pro, the source-sans files + # were renamed. + sed -i 's/SourceSansPro/SourceSans3/g' doc/psfonts.ph || die +} + src_compile() { default use doc && emake doc
