diff -Nru latexml-0.8.6/debian/changelog latexml-0.8.6/debian/changelog --- latexml-0.8.6/debian/changelog 2021-12-02 13:16:40.000000000 +0000 +++ latexml-0.8.6/debian/changelog 2022-06-27 13:15:46.000000000 +0000 @@ -1,3 +1,10 @@ +latexml (0.8.6-4) unstable; urgency=medium + + * Add patch from upstream to fix test suite. + * Add "make" to Dep of test suite. + + -- Hilmar Preusse Mon, 27 Jun 2022 15:15:46 +0200 + latexml (0.8.6-3) unstable; urgency=medium * Add patch from pull request #1716 to fix test suite w/ TL 2021. diff -Nru latexml-0.8.6/debian/patches/pull_request_1874.patch latexml-0.8.6/debian/patches/pull_request_1874.patch --- latexml-0.8.6/debian/patches/pull_request_1874.patch 1970-01-01 00:00:00.000000000 +0000 +++ latexml-0.8.6/debian/patches/pull_request_1874.patch 2022-06-27 12:50:49.000000000 +0000 @@ -0,0 +1,49 @@ +From 878d10f02ab1173134369baa8e7ef5c820105703 Mon Sep 17 00:00:00 2001 +From: Bruce Miller +Date: Thu, 23 Jun 2022 09:25:33 -0400 +Subject: [PATCH] Fix ordering error in \InputIfFileExists + +--- + lib/LaTeXML/Package/LaTeX.pool.ltxml | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +--- latexml.orig/lib/LaTeXML/Package/LaTeX.pool.ltxml ++++ latexml/lib/LaTeXML/Package/LaTeX.pool.ltxml +@@ -4010,8 +4010,10 @@ + #====================================================================== + Let('\@@input', '\input'); # Save TeX's version. + # LaTeX's \input is a bit different... ++# Input, now ++DefPrimitive('\ltx@input {}', sub { Input(Expand($_[1])); }); + DefMacroI('\input', undef, '\@ifnextchar\bgroup\@iinput\@@input'); +-DefPrimitive('\@iinput {}', sub { Input(Expand($_[1])); }); ++Let('\@iinput', '\ltx@input'); + DefMacro('\@input{}', '\IfFileExists{#1}{\@@input\@filef@und}{\typeout{No file #1.}}'); + DefMacro('\@input@{}', '\InputIfFileExists{#1}{}{\typeout{No file #1.}}'); + +@@ -5713,11 +5715,12 @@ + + DefMacro('\InputIfFileExists{}{}{}', sub { + my ($gullet, $file, $if, $else) = @_; +- my $file_string = ToString(Expand($file)); ++ $file = Expand($file); ++ my $file_string = ToString($file); + if (FindFile($file_string)) { + DefMacro('\@filef@und', '"' . $file_string . '" '); +- Input($file_string); +- return ($if->unlist); } ++ return Tokens($if, T_CS('\@addtofilelist'), T_BEGIN, $file, T_END, ++ T_CS('\ltx@input'), T_BEGIN, $file, T_END); } + else { return ($else->unlist); } }); + + #====================================================================== +--- latexml.orig/t/80_complex.t ++++ latexml/t/80_complex.t +@@ -6,5 +6,5 @@ + + latexml_tests("t/complex", + requires => { +- cleveref_minimal => 'cleveref.sty', +- si => 'siunitx.sty' }); ++ cleveref_minimal => 'cleveref.sty', ++ si => { packages => 'siunitx.sty', texlive_min => 2015 } }); diff -Nru latexml-0.8.6/debian/patches/series latexml-0.8.6/debian/patches/series --- latexml-0.8.6/debian/patches/series 2021-12-02 10:09:02.000000000 +0000 +++ latexml-0.8.6/debian/patches/series 2022-06-27 12:23:19.000000000 +0000 @@ -1,3 +1,4 @@ fix-perl-shebang #spelling_errors pull_request_1716.patch +pull_request_1874.patch diff -Nru latexml-0.8.6/debian/tests/control latexml-0.8.6/debian/tests/control --- latexml-0.8.6/debian/tests/control 2021-10-05 06:12:05.000000000 +0000 +++ latexml-0.8.6/debian/tests/control 2022-06-27 10:17:22.000000000 +0000 @@ -1,5 +1,6 @@ Tests: test-suite -Depends: libparse-recdescent-perl, +Depends: make, + libparse-recdescent-perl, libimage-size-perl, libarchive-zip-perl, libfile-which-perl,