summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-01-10 21:32:38 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-01-10 21:34:11 +0100
commite64ffb70aba96a0d19812730f60580b3af96b7cd (patch)
tree84cd4876e6452f795e01666276877e00eb2611c8
parentInitial import from https://dev.gentoo.org/~sam/distfiles/texlive/texlive-cor... (diff)
downloadtex-patches-e64ffb70aba96a0d19812730f60580b3af96b7cd.tar.gz
tex-patches-e64ffb70aba96a0d19812730f60580b3af96b7cd.tar.bz2
tex-patches-e64ffb70aba96a0d19812730f60580b3af96b7cd.zip
latex2man-use-predictable-tmp: cleanup patch
Remove one unnecessary change. Also add URL to debian commit. Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--0006-latex2man-use-predictable-tmp.patch14
1 files 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) {