summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2022-09-15 15:48:43 +0100
committerMatthew Smith <matthew@gentoo.org>2022-09-15 15:49:36 +0100
commit12a06d251b46508008b2c82c02a37f16a7cb9331 (patch)
tree367ca27b2a21b2e61fe9e6be841c1fbb1a508361 /dev-lang
parentdev-python/pikepdf: bump to 6.0.0_p2 (diff)
downloadgentoo-12a06d251b46508008b2c82c02a37f16a7cb9331.tar.gz
gentoo-12a06d251b46508008b2c82c02a37f16a7cb9331.tar.bz2
gentoo-12a06d251b46508008b2c82c02a37f16a7cb9331.zip
dev-lang/nasm: replace obsolete font name when building docs
Closes: https://bugs.gentoo.org/870214 Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/nasm/nasm-2.15.05.ebuild9
1 files changed, 9 insertions, 0 deletions
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