summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2016-06-20 18:50:18 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2016-06-20 18:50:18 +0300
commit05bd5e3d17445ed7e2a410113d12badd60b3c964 (patch)
tree4921f9566c7ccdbd3bbde8c82aab6db057d7bb0f /app-doc/root-docs
parentsys-kernel/git-sources: Automated version bump to 4.7_rc4 (diff)
downloadgentoo-05bd5e3d17445ed7e2a410113d12badd60b3c964.tar.gz
gentoo-05bd5e3d17445ed7e2a410113d12badd60b3c964.tar.bz2
gentoo-05bd5e3d17445ed7e2a410113d12badd60b3c964.zip
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@rz.uni-potsdam.de>. Package-Manager: portage-2.3.0_rc1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'app-doc/root-docs')
-rw-r--r--app-doc/root-docs/files/root-docs-6.04.06-tightlist.patch11
-rw-r--r--app-doc/root-docs/root-docs-6.04.06.ebuild3
2 files changed, 13 insertions, 1 deletions
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 000000000000..1eec11de7b33
--- /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 8730ea22cbf9..bb0f8764a872 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 \