-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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() {
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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"
--- /dev/null
+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