summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-04 11:29:59 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-04 11:43:49 +0200
commitd3b8c1e3cf57247cd2c5c014109040665109c44c (patch)
tree87a9a7e46f02b170ff686bd4481911b3250e4674 /dev-tex/latex2html/files
parentnet-p2p/litecoind: remove 0.10.2.2-r4 (diff)
downloadgentoo-d3b8c1e3cf57247cd2c5c014109040665109c44c.tar.gz
gentoo-d3b8c1e3cf57247cd2c5c014109040665109c44c.tar.bz2
gentoo-d3b8c1e3cf57247cd2c5c014109040665109c44c.zip
dev-tex/latex2html: Add build fixes for Perl 5.26, bug 617760
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-tex/latex2html/files')
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-brace.patch36
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch12
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch33
3 files changed, 81 insertions, 0 deletions
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;
+ }
+ }
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch b/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch
new file mode 100644
index 000000000000..2e58c0070d7d
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch
@@ -0,0 +1,12 @@
+diff -ruN latex2html-2017.2.orig/configure latex2html-2017.2/configure
+--- latex2html-2017.2.orig/configure 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/configure 2017-08-04 09:21:02.929355288 -0000
+@@ -1225,7 +1225,7 @@
+ fi
+
+ # this is used to get the values from the config file
+-eval `perl -w -e 'use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
++eval `perl -w -e 'use lib q[.]; use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
+
+
+
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch b/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch
new file mode 100644
index 000000000000..e7f29ad5779c
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch
@@ -0,0 +1,33 @@
+diff -ruN latex2html-2017.2.orig/config/build.pl latex2html-2017.2/config/build.pl
+--- latex2html-2017.2.orig/config/build.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/config/build.pl 2017-08-04 09:13:26.040867263 -0000
+@@ -145,6 +145,7 @@
+ # Read in the system's configuration
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use cfgcache;
+
+ my $dd = $cfg{'dd'};
+diff -ruN latex2html-2017.2.orig/config/config.pl latex2html-2017.2/config/config.pl
+--- latex2html-2017.2.orig/config/config.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/config/config.pl 2017-08-04 09:13:45.500980317 -0000
+@@ -435,6 +435,7 @@
+
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use L2hos;
+
+ #use diagnostics;
+diff -ruN latex2html-2017.2.orig/config/install.pl latex2html-2017.2/config/install.pl
+--- latex2html-2017.2.orig/config/install.pl 2017-08-04 09:08:53.608284554 -0000
++++ latex2html-2017.2/config/install.pl 2017-08-04 09:13:57.116047796 -0000
+@@ -183,6 +183,7 @@
+
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use cfgcache;
+ use L2hos;
+