Magellan Linux

Contents of /trunk/automake/patches/automake-1.5-perl-5.11.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2977 - (show annotations) (download)
Wed Aug 23 11:26:00 2017 UTC (6 years, 8 months ago) by niro
File size: 806 byte(s)
added perl patch
1 From 375912c466b28a6121d351b9ff5513133a1c7227 Mon Sep 17 00:00:00 2001
2 From: Jim Meyering <meyering@redhat.com>
3 Date: Sun, 29 Nov 2009 20:35:03 +0100
4 Subject: [PATCH] avoid a warning from perl-5.11
5
6 * lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's
7 "/d" modifier.
8
9 Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 ---
11 ChangeLog | 6 ++++++
12 lib/Automake/Wrap.pm | 2 +-
13 2 files changed, 7 insertions(+), 1 deletion(-)
14
15 --- a/automake.in
16 +++ b/automake.in
17 @@ -5277,7 +5277,7 @@ sub pretty_print_internal
18 # character counts for eight. So we count the number of Tabs and
19 # multiply by 7.
20 my $fill_length = length ($fill);
21 - $fill_length += 7 * ($fill =~ tr/\t/\t/d);
22 + $fill_length += 7 * ($fill =~ tr/\t/\t/);
23
24 foreach (@values)
25 {
26 --
27 2.1.3
28