1
0
Dr. Werner Fink 2016-09-27 14:19:08 +00:00 committed by Git OBS Bridge
parent 34c8f0bcff
commit 57ec9d85b1
3 changed files with 7 additions and 35 deletions

View File

@ -1,34 +0,0 @@
! Fix boo#983823
--- texmf-dist/scripts/latexpand/latexpand
+++ texmf-dist/scripts/latexpand/latexpand 2016-09-27 14:38:19.280920000 +0200
@@ -123,7 +123,7 @@ sub process_file
# ignored by LaTeX, but we don't allow anything before
# to avoid e.g. \verb|\end{document}| from terminating
# the file.
- if (!$keep_comments && $line =~ /^[ \t]*\\end{document}/) {
+ if (!$keep_comments && $line =~ /^[ \t]*\\end\{document\}/) {
last;
}
}
@@ -131,9 +131,11 @@ sub process_file
return $in_comment;
}
+no warnings;
sub process_line
{
- my ($_, $prefix, $file) = @_;
+ my ($line, $prefix, $file) = @_;
+ $_ = "$line";
# Consider \makeatletter only in preamble, because we do want
# to warn on \someCommand{\makeatletter\command@with@arobase}.
if ($in_preamble && /^[^%]*\\makeatletter/) {
@@ -241,6 +243,7 @@ sub process_line
}
print;
}
+use warnings;
# search $1 in $TEXINPUTS, with possible extensions in $2
sub find_tex_file

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 27 12:42:09 UTC 2016 - werner@suse.de
- Add patch latexpand_perl.dif to fix boo#983823 --
latexpand does not work anymore after Tumbleweed update
-------------------------------------------------------------------
Wed Aug 10 11:48:01 UTC 2016 - werner@suse.de

View File

@ -19,7 +19,7 @@
%define texlive_version 2016
%define texlive_previous 2015
%define texlive_release 20160523
%define texlive_noarch 110
%define texlive_noarch 111
#!BuildIgnore: texlive