commit:     0a6a4274636934b4ee25092ce42b46f02453574b
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jul  4 11:28:40 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 21:14:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6a4274

dev-tex/latex2html: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/21521
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/latex2html-2017.2-brace-2.patch          | 12 --------
 .../latex2html/files/latex2html-2017.2-brace.patch | 36 ----------------------
 .../files/latex2html-2017.2-dotinc-2.patch         | 12 --------
 .../files/latex2html-2017.2-dotinc.patch           | 33 --------------------
 .../files/latex2html-convert-length.patch          | 22 -------------
 .../files/latex2html-extract-major-version-2.patch | 12 --------
 .../latex2html/files/latex2html-perl_name.patch    | 11 -------
 dev-tex/latex2html/files/latex2html-tests.patch    | 26 ----------------
 8 files changed, 164 deletions(-)

diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch 
b/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
deleted file mode 100644
index 533cbc0c75c..00000000000
--- a/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN latex2html-2017.2.orig/styles/frames.perl 
latex2html-2017.2/styles/frames.perl
---- latex2html-2017.2.orig/styles/frames.perl  2017-01-23 18:14:25.000000000 
+0100
-+++ latex2html-2017.2/styles/frames.perl       2017-09-23 15:49:27.184088195 
+0200
-@@ -706,7 +706,7 @@
-     $_[0] =~ s/<(META NAME|LINK)[^>]*>\s*//g;
-     $_[0] =~ s/$more_links_mark/$NO_ROBOTS\n$LATEX2HTML_META/g;
-     local($savedRS)=$/; $/ = '';
--    $_[0] =~ s/\n{2;}/\n/sg;
-+    $_[0] =~ s/\n\{2;}/\n/sg;
-     $_[0] =~ s/\s$//s;
-     $_[0] =~ s!\s*(\n</HEAD>\n)\s*!$1!s;
-     $/ = $savedRS;

diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace.patch 
b/dev-tex/latex2html/files/latex2html-2017.2-brace.patch
deleted file mode 100644
index 4782fb313e7..00000000000
--- a/dev-tex/latex2html/files/latex2html-2017.2-brace.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-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
deleted file mode 100644
index 2e58c0070d7..00000000000
--- a/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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
deleted file mode 100644
index e7f29ad5779..00000000000
--- a/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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;
- 

diff --git a/dev-tex/latex2html/files/latex2html-convert-length.patch 
b/dev-tex/latex2html/files/latex2html-convert-length.patch
deleted file mode 100644
index 4171fd7c05e..00000000000
--- a/dev-tex/latex2html/files/latex2html-convert-length.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- latex2html-2002-2-1/versions/html2_2.pl.old        2006-02-21 
20:37:50.000000000 +0100
-+++ latex2html-2002-2-1/versions/html2_2.pl    2006-02-21 20:38:03.000000000 
+0100
-@@ -91,7 +91,7 @@
-     ($pxs,$len);
- }
- # should no longer be needed, as this is defined in latex2html.pin
--if (undefined &convert_length) { sub convert_length 
{&convert_length_table(@_)} }
-+if (!defined (&convert_length)) { sub convert_length 
{&convert_length_table(@_)} }
- 
- # Translates LaTeX column specifications to HTML. Again, Netscape
- # needs some extra work with its width attributes in the <td> tags.
---- latex2html-2002-2-1/versions/table.pl.old  2006-02-21 20:37:54.000000000 
+0100
-+++ latex2html-2002-2-1/versions/table.pl      2006-02-21 20:38:11.000000000 
+0100
-@@ -91,7 +91,7 @@
-     ($pxs,$len);
- }
- # should no longer be needed, as this is defined in latex2html.pin
--if (undefined &convert_length) { sub convert_length 
{&convert_length_table(@_)} }
-+if (!defined (&convert_length)) { sub convert_length 
{&convert_length_table(@_)} }
- 
- # Translates LaTeX column specifications to HTML. Again, Netscape
- # needs some extra work with its width attributes in the <td> tags.

diff --git a/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch 
b/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch
deleted file mode 100644
index 11b6685385e..00000000000
--- a/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN latex2html-2002-2-1.orig/config/config.pl 
latex2html-2002-2-1/config/config.pl
---- latex2html-2002-2-1.orig/config/config.pl  2006-06-02 20:41:18.000000000 
+0200
-+++ latex2html-2002-2-1/config/config.pl       2006-06-02 20:42:07.000000000 
+0200
-@@ -1275,7 +1275,7 @@
-     ($stat,$msg,$err) = &get_out_err("$pnmcrop -version");
-     my $vers = '';
-     $msg = $msg || $err;
--    if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; }
-+    if ($msg =~ /(^|\s*)Version: Netpbm (\d+)\..*\s*([\n\r]|$)/is) { $vers = 
$2; }
-     if ($vers =~ /^199/) {
-       # try left crop
-       &checking('if pnmcrop can crop from one direction');

diff --git a/dev-tex/latex2html/files/latex2html-perl_name.patch 
b/dev-tex/latex2html/files/latex2html-perl_name.patch
deleted file mode 100644
index cc56f91437f..00000000000
--- a/dev-tex/latex2html/files/latex2html-perl_name.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- latex2html-2002-2-1/config/config.pl       2002-11-29 12:49:01.000000000 
+0100
-+++ latex2html-2002-2-1/config/config.pl.new   2006-05-23 11:29:10.000000000 
+0200
-@@ -617,7 +617,7 @@
- 
- # only perl gets an absolute pathname
- my $abs_path_names = 1;
--$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
-+$newcfg{'PERL'} = &find_prog("perl"); # take the perl internal executable name
- &checking('perl version');
- &result($]);
- 

diff --git a/dev-tex/latex2html/files/latex2html-tests.patch 
b/dev-tex/latex2html/files/latex2html-tests.patch
deleted file mode 100644
index 1ada1a32bf0..00000000000
--- a/dev-tex/latex2html/files/latex2html-tests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: latex2html-2017.2/styles/frames.perl
-===================================================================
---- latex2html-2017.2.orig/styles/frames.perl
-+++ latex2html-2017.2/styles/frames.perl
-@@ -295,7 +295,7 @@ sub check_frame_colorset {
-     elsif ($reverse == 1) {$colorset="${which}_colorset_star"}
-     elsif ($reverse == 2) {$colorset="${which}_colorset_star_star"}
-     else {$colorset="${which}_colorset"}
--    if (!(defined  @$colorset))
-+    if (!(@$colorset))
-       { print STDERR "\nframes for $which are not supported\n"; 
return($rest);}       
-     local($frame_tmp)=$frame_data;
-     local($key, @values);
-Index: latex2html-2017.2/styles/natbib.perl
-===================================================================
---- latex2html-2017.2.orig/styles/natbib.perl
-+++ latex2html-2017.2/styles/natbib.perl
-@@ -1451,7 +1451,7 @@ sub do_cmd_citestyle {
-     local($_) = @_;
-     s/$next_pair_pr_rx//o;
-     local($style)="citestyle_$2";
--    if (defined @$style) {
-+    if (@$style) {
-       ($CITE_OPEN_DELIM,
-        $CITE_CLOSE_DELIM,
-        $CITE_ENUM,

Reply via email to