1 |
commit: ec8b6589837fe279d3dc1c6d55307cc76134f4a5 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 16:56:25 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 16:57:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8b6589 |
7 |
|
8 |
dev-tex/chktex: force latin1 as inputenc |
9 |
|
10 |
Closes: https://bugs.gentoo.org/687402 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
13 |
|
14 |
dev-tex/chktex/chktex-1.7.1.ebuild | 5 +++-- |
15 |
dev-tex/chktex/chktex-1.7.6.ebuild | 5 +++-- |
16 |
dev-tex/chktex/files/tex-inputenc.patch | 14 ++++++++++++++ |
17 |
3 files changed, 20 insertions(+), 4 deletions(-) |
18 |
|
19 |
diff --git a/dev-tex/chktex/chktex-1.7.1.ebuild b/dev-tex/chktex/chktex-1.7.1.ebuild |
20 |
index f98d0a186a4..6f446f1ff34 100644 |
21 |
--- a/dev-tex/chktex/chktex-1.7.1.ebuild |
22 |
+++ b/dev-tex/chktex/chktex-1.7.1.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=4 |
29 |
@@ -24,7 +24,8 @@ DEPEND="${RDEPEND} |
30 |
sys-apps/groff |
31 |
doc? ( dev-tex/latex2html )" |
32 |
|
33 |
-PATCHES=( "${FILESDIR}/${P}-asneeded.patch" ) |
34 |
+PATCHES=( "${FILESDIR}/${P}-asneeded.patch" |
35 |
+ "${FILESDIR}/tex-inputenc.patch" ) |
36 |
DOCS=( NEWS ) |
37 |
|
38 |
src_configure() { |
39 |
|
40 |
diff --git a/dev-tex/chktex/chktex-1.7.6.ebuild b/dev-tex/chktex/chktex-1.7.6.ebuild |
41 |
index ed31a46da99..95d58ca0ffe 100644 |
42 |
--- a/dev-tex/chktex/chktex-1.7.6.ebuild |
43 |
+++ b/dev-tex/chktex/chktex-1.7.6.ebuild |
44 |
@@ -1,4 +1,4 @@ |
45 |
-# Copyright 1999-2017 Gentoo Foundation |
46 |
+# Copyright 1999-2019 Gentoo Authors |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
|
49 |
EAPI=4 |
50 |
@@ -25,7 +25,8 @@ DEPEND="${RDEPEND} |
51 |
dev-texlive/texlive-fontsrecommended |
52 |
doc? ( dev-tex/latex2html )" |
53 |
|
54 |
-PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" ) |
55 |
+PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" |
56 |
+ "${FILESDIR}/tex-inputenc.patch" ) |
57 |
DOCS=( NEWS ) |
58 |
AT_M4DIR="${S}/m4" |
59 |
|
60 |
|
61 |
diff --git a/dev-tex/chktex/files/tex-inputenc.patch b/dev-tex/chktex/files/tex-inputenc.patch |
62 |
new file mode 100644 |
63 |
index 00000000000..76cd5c156d1 |
64 |
--- /dev/null |
65 |
+++ b/dev-tex/chktex/files/tex-inputenc.patch |
66 |
@@ -0,0 +1,14 @@ |
67 |
+Description: Specify the input encoding, fixing FTBFS with TeX Live 2018 |
68 |
+Author: Adrian Bunk <bunk@××××××.org> |
69 |
+Bug-Debian: https://bugs.debian.org/896178 |
70 |
+ |
71 |
+--- chktex-1.7.6.orig/ChkTeX.tex.in |
72 |
++++ chktex-1.7.6/ChkTeX.tex.in |
73 |
+@@ -37,6 +37,7 @@ |
74 |
+ |
75 |
+ \documentclass[a4paper]{article} |
76 |
+ %latex |
77 |
++\usepackage[latin1]{inputenc} |
78 |
+ \usepackage{array, tabularx, verbatim, multicol} |
79 |
+ \usepackage[T1]{fontenc} |
80 |
+ \nonfrenchspacing |