From d3b8c1e3cf57247cd2c5c014109040665109c44c Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Fri, 4 Aug 2017 11:29:59 +0200 Subject: dev-tex/latex2html: Add build fixes for Perl 5.26, bug 617760 Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- .../latex2html/files/latex2html-2017.2-brace.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-tex/latex2html/files/latex2html-2017.2-brace.patch (limited to 'dev-tex/latex2html/files/latex2html-2017.2-brace.patch') diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace.patch b/dev-tex/latex2html/files/latex2html-2017.2-brace.patch new file mode 100644 index 000000000000..4782fb313e79 --- /dev/null +++ b/dev-tex/latex2html/files/latex2html-2017.2-brace.patch @@ -0,0 +1,36 @@ +diff -ruN latex2html-2017.2.orig/versions/html3_2.pl latex2html-2017.2/versions/html3_2.pl +--- latex2html-2017.2.orig/versions/html3_2.pl 2017-01-23 17:14:25.000000000 -0000 ++++ latex2html-2017.2/versions/html3_2.pl 2017-08-04 09:38:17.219909442 -0000 +@@ -607,7 +607,7 @@ + + if ($color_env) { + local($color_test) = join(',',@$open_tags_R); +- if ($color_test =~ /(color{[^}]*})/g ) { ++ if ($color_test =~ /(color\{[^}]*})/g ) { + $color_env = $1; + } + } +diff -ruN latex2html-2017.2.orig/versions/html4_01.pl latex2html-2017.2/versions/html4_01.pl +--- latex2html-2017.2.orig/versions/html4_01.pl 2017-01-23 17:14:25.000000000 -0000 ++++ latex2html-2017.2/versions/html4_01.pl 2017-08-04 09:39:32.529023088 -0000 +@@ -976,7 +976,7 @@ + + if ($color_env) { + local($color_test) = join(',',@$open_tags_R); +- if ($color_test =~ /(color{[^}]*})/g ) { ++ if ($color_test =~ /(color\{[^}]*})/g ) { + $color_env = $1; + } + } +diff -ruN latex2html-2017.2.orig/versions/html4_1.pl latex2html-2017.2/versions/html4_1.pl +--- latex2html-2017.2.orig/versions/html4_1.pl 2017-01-23 17:14:25.000000000 -0000 ++++ latex2html-2017.2/versions/html4_1.pl 2017-08-04 09:37:48.507866114 -0000 +@@ -976,7 +976,7 @@ + + if ($color_env) { + local($color_test) = join(',',@$open_tags_R); +- if ($color_test =~ /(color{[^}]*})/g ) { ++ if ($color_test =~ /(color\{[^}]*})/g ) { + $color_env = $1; + } + } -- cgit v1.2.3-65-gdbad