app-doc/root-docs: fix bug 564482
authorAndrew Savchenko <bircoph@gentoo.org>
Mon, 20 Jun 2016 15:50:18 +0000 (18:50 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Mon, 20 Jun 2016 15:50:18 +0000 (18:50 +0300)
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@rz.uni-potsdam.de>.

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch [new file with mode: 0644]
app-doc/root-docs/root-docs-6.04.06.ebuild

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 (file)
index 0000000..1eec11d
--- /dev/null
@@ -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~
index 8730ea22cbf92fdeee7a422edd58aa95443b7812..bb0f8764a8727e79c6615c08cfa22331e55968b5 100644 (file)
@@ -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 \