From: | "Andreas HAttel (dilfridge)" <dilfridge@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-tex/latex2html/files: latex2html-extract-major-version-2.patch |
Date: | Fri, 25 Feb 2011 13:56:57 |
Message-Id: | 20110225135646.C240320054@flycatcher.gentoo.org |
1 | dilfridge 11/02/25 13:56:46 |
2 | |
3 | Added: latex2html-extract-major-version-2.patch |
4 | Log: |
5 | Add match-multiline patch from Debian (author: Roland Stigge <stigge@××××××.de>) to support newer perl versions; fix Netpbm version detection |
6 | |
7 | (Portage version: 2.1.9.41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-tex/latex2html/files/latex2html-extract-major-version-2.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: latex2html-extract-major-version-2.patch |
16 | =================================================================== |
17 | diff -urN latex2html-2002-2-1.orig/config/config.pl latex2html-2002-2-1/config/config.pl |
18 | --- latex2html-2002-2-1.orig/config/config.pl 2006-06-02 20:41:18.000000000 +0200 |
19 | +++ latex2html-2002-2-1/config/config.pl 2006-06-02 20:42:07.000000000 +0200 |
20 | @@ -1275,7 +1275,7 @@ |
21 | ($stat,$msg,$err) = &get_out_err("$pnmcrop -version"); |
22 | my $vers = ''; |
23 | $msg = $msg || $err; |
24 | - if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; } |
25 | + if ($msg =~ /(^|\s*)Version: Netpbm (\d+)\..*\s*([\n\r]|$)/is) { $vers = $2; } |
26 | if ($vers =~ /^199/) { |
27 | # try left crop |
28 | &checking('if pnmcrop can crop from one direction'); |