commit:     d3c1416258227e409c2d69344fd6291f3834a4b7
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Dec 27 06:42:17 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 05:48:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c14162

media-gfx/enblend: fix docs build error

Closes: https://bugs.gentoo.org/888025
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/28839
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild      |  1 +
 .../enblend-4.2.0_p20161007-doc-scaleable-fonts.patch    | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild 
b/media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild
index f06af141e1d9..2871a62a8325 100644
--- a/media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild
+++ b/media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild
@@ -49,6 +49,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-4.2-doc-install-dir-fix.patch
        "${FILESDIR}"/${P}-cmake.patch
        "${FILESDIR}"/${P}-gcc-10.patch
+       "${FILESDIR}"/${P}-doc-scaleable-fonts.patch
 )
 
 src_prepare() {

diff --git 
a/media-gfx/enblend/files/enblend-4.2.0_p20161007-doc-scaleable-fonts.patch 
b/media-gfx/enblend/files/enblend-4.2.0_p20161007-doc-scaleable-fonts.patch
new file mode 100644
index 000000000000..638cd8c1ecbb
--- /dev/null
+++ b/media-gfx/enblend/files/enblend-4.2.0_p20161007-doc-scaleable-fonts.patch
@@ -0,0 +1,16 @@
+Use scaleable fonts.
+
+Bug: https://bugs.gentoo.org/888025
+
+diff -Naur enblend-4.2.0_p20161007.org/doc/static-preamble.tex 
enblend-4.2.0_p20161007/doc/static-preamble.tex
+--- enblend-4.2.0_p20161007.org/doc/static-preamble.tex 2016-09-24 
11:29:40.000000000 +0200
++++ enblend-4.2.0_p20161007/doc/static-preamble.tex     2022-12-27 
07:30:42.966176272 +0100
+@@ -5,6 +5,8 @@
+ \RequirePackage[l2tabu, orthodox]{nag}
+ 
+ 
++\usepackage[T1]{fontenc}
++\usepackage{lmodern}       % scaleable fonts
+ \usepackage{amsmath}       % align, align*
+ \usepackage{bold-extra}    % Bold typewriter for programming language keywords
+ \usepackage{color}         % \colorbox

Reply via email to