commit: e64ffb70aba96a0d19812730f60580b3af96b7cd Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Jan 10 20:32:38 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Jan 10 20:34:11 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-patches.git/commit/?id=e64ffb70
latex2man-use-predictable-tmp: cleanup patch Remove one unnecessary change. Also add URL to debian commit. Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> 0006-latex2man-use-predictable-tmp.patch | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/0006-latex2man-use-predictable-tmp.patch b/0006-latex2man-use-predictable-tmp.patch index 581b0be..cb6cc79 100644 --- a/0006-latex2man-use-predictable-tmp.patch +++ b/0006-latex2man-use-predictable-tmp.patch @@ -4,11 +4,12 @@ Date: Sun, 2 Jun 2019 14:50:27 +0300 Subject: [PATCH 6/6] latex2man: use predictable tmp https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668779 +https://github.com/debian-tex/texlive-nonbin/commit/714dc72c87b917834570d32dee7231008df98832 https://bugs.gentoo.org/show_bug.cgi?id=432144 CVE-2012-2120 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2120) --- - texk/texlive/linked_scripts/latex2man/latex2man | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) + texk/texlive/linked_scripts/latex2man/latex2man | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texk/texlive/linked_scripts/latex2man/latex2man b/texk/texlive/linked_scripts/latex2man/latex2man index e117d337..285c19fd 100755 @@ -23,15 +24,6 @@ index e117d337..285c19fd 100755 ################################################################## # check option and arguments ################################################################## -@@ -153,7 +151,7 @@ $first_word = 1; # true, if the next word to be processed is the first - $list_nest = 0; # counts nesting of itemize/enumerate/description envrionments - $cur_list[0] = "";# array, indexed with list_nest, indicates kind of list: - # values are: 'enum' / 'descr' / 'item' --$item_nr[0] = 0; # array, indexed with list_nest, counts the number of \item in the -+$item_nr[0] = 0; # array, indexed with list_nest, counts the number of W\item in the - # list - $manRS = 0; # true, if for Man a .RS was given after a \item - @@ -2018,6 +2016,8 @@ if ($opt_t) { open (my $SRC, "<$SrcFile") || die "$CMD: Can't open file \`$SrcFile' for reading.\n"; if ($opt_H || $opt_T) {