summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-06-05 19:56:25 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-06-05 19:57:13 +0300
commitec8b6589837fe279d3dc1c6d55307cc76134f4a5 (patch)
tree3ac565ab33dd597ae2c5eeb80d80f5bcf6be258f /dev-tex
parentapp-office/kmymoney: Disable broken qsqlcipher-test (diff)
downloadgentoo-ec8b6589837fe279d3dc1c6d55307cc76134f4a5.tar.gz
gentoo-ec8b6589837fe279d3dc1c6d55307cc76134f4a5.tar.bz2
gentoo-ec8b6589837fe279d3dc1c6d55307cc76134f4a5.zip
dev-tex/chktex: force latin1 as inputenc
Closes: https://bugs.gentoo.org/687402 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/chktex/chktex-1.7.1.ebuild5
-rw-r--r--dev-tex/chktex/chktex-1.7.6.ebuild5
-rw-r--r--dev-tex/chktex/files/tex-inputenc.patch14
3 files changed, 20 insertions, 4 deletions
diff --git a/dev-tex/chktex/chktex-1.7.1.ebuild b/dev-tex/chktex/chktex-1.7.1.ebuild
index f98d0a186a4f..6f446f1ff34d 100644
--- a/dev-tex/chktex/chktex-1.7.1.ebuild
+++ b/dev-tex/chktex/chktex-1.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -24,7 +24,8 @@ DEPEND="${RDEPEND}
sys-apps/groff
doc? ( dev-tex/latex2html )"
-PATCHES=( "${FILESDIR}/${P}-asneeded.patch" )
+PATCHES=( "${FILESDIR}/${P}-asneeded.patch"
+ "${FILESDIR}/tex-inputenc.patch" )
DOCS=( NEWS )
src_configure() {
diff --git a/dev-tex/chktex/chktex-1.7.6.ebuild b/dev-tex/chktex/chktex-1.7.6.ebuild
index ed31a46da99f..95d58ca0ffe1 100644
--- a/dev-tex/chktex/chktex-1.7.6.ebuild
+++ b/dev-tex/chktex/chktex-1.7.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -25,7 +25,8 @@ DEPEND="${RDEPEND}
dev-texlive/texlive-fontsrecommended
doc? ( dev-tex/latex2html )"
-PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" )
+PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch"
+ "${FILESDIR}/tex-inputenc.patch" )
DOCS=( NEWS )
AT_M4DIR="${S}/m4"
diff --git a/dev-tex/chktex/files/tex-inputenc.patch b/dev-tex/chktex/files/tex-inputenc.patch
new file mode 100644
index 000000000000..76cd5c156d12
--- /dev/null
+++ b/dev-tex/chktex/files/tex-inputenc.patch
@@ -0,0 +1,14 @@
+Description: Specify the input encoding, fixing FTBFS with TeX Live 2018
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/896178
+
+--- chktex-1.7.6.orig/ChkTeX.tex.in
++++ chktex-1.7.6/ChkTeX.tex.in
+@@ -37,6 +37,7 @@
+
+ \documentclass[a4paper]{article}
+ %latex
++\usepackage[latin1]{inputenc}
+ \usepackage{array, tabularx, verbatim, multicol}
+ \usepackage[T1]{fontenc}
+ \nonfrenchspacing