commit:     05bd5e3d17445ed7e2a410113d12badd60b3c964
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 15:50:18 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 15:50:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bd5e3d

app-doc/root-docs: fix bug 564482

pandoc-1.14 has problems with \tightlist command (it is referenced,
but not included), this can be fixed by introducing manual definition.
Patch by Juergen Rose <rose <AT> rz.uni-potsdam.de>.

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch | 11 +++++++++++
 app-doc/root-docs/root-docs-6.04.06.ebuild                |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch 
b/app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch
new file mode 100644
index 0000000..1eec11d
--- /dev/null
+++ b/app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch
@@ -0,0 +1,11 @@
+diff -r -U2 root-6.04.06/documentation/primer/template.tex 
root-6.04.06_new/documentation/primer/template.tex
+--- root-6.04.06/documentation/primer/template.tex     2015-10-13 
12:41:18.000000000 +0200
++++ root-6.04.06_new/documentation/primer/template.tex 2015-12-22 
20:38:25.454396212 +0100
+@@ -130,4 +130,6 @@
+ \setlength{\parskip}{6pt plus 2pt minus 1pt}
+ \setlength{\emergencystretch}{3em}  % prevent overfull lines
++\providecommand{\tightlist}{%
++  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
+ $if(numbersections)$
+ \setcounter{secnumdepth}{5}
+Only in root-6.04.06_new/documentation/primer: template.tex~

diff --git a/app-doc/root-docs/root-docs-6.04.06.ebuild 
b/app-doc/root-docs/root-docs-6.04.06.ebuild
index 8730ea2..bb0f876 100644
--- a/app-doc/root-docs/root-docs-6.04.06.ebuild
+++ b/app-doc/root-docs/root-docs-6.04.06.ebuild
@@ -49,7 +49,8 @@ S="${WORKDIR}/${ROOT_PN}-${PV}"
 
 src_prepare() {
        epatch \
-               "${FILESDIR}/${PN}-6.00.01-makehtml.patch"
+               "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
+               "${FILESDIR}/${PN}-6.04.06-tightlist.patch"
 
        # prefixify the configure script
        sed -i \

Reply via email to