vapier      14/11/15 06:21:57

  Added:                automake-1.5-perl-5.11.patch
                        automake-1.8-perl-5.11.patch
                        automake-1.4-perl-5.11.patch
  Log:
  Backport fix from upstream for warnings when using perl-5.11+.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key D2E96200)

Revision  Changes    Path
1.1                  sys-devel/automake/files/automake-1.5-perl-5.11.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.5-perl-5.11.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.5-perl-5.11.patch?rev=1.1&content-type=text/plain

Index: automake-1.5-perl-5.11.patch
===================================================================
>From 375912c466b28a6121d351b9ff5513133a1c7227 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Sun, 29 Nov 2009 20:35:03 +0100
Subject: [PATCH] avoid a warning from perl-5.11

* lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's
"/d" modifier.

Signed-off-by: Ralf Wildenhues <[email protected]>
---
 ChangeLog            | 6 ++++++
 lib/Automake/Wrap.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

--- a/automake.in
+++ b/automake.in
@@ -5277,7 +5277,7 @@ sub pretty_print_internal
     # character counts for eight.  So we count the number of Tabs and
     # multiply by 7.
     my $fill_length = length ($fill);
-    $fill_length += 7 * ($fill =~ tr/\t/\t/d);
+    $fill_length += 7 * ($fill =~ tr/\t/\t/);
 
     foreach (@values)
     {
-- 
2.1.3




1.1                  sys-devel/automake/files/automake-1.8-perl-5.11.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.8-perl-5.11.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.8-perl-5.11.patch?rev=1.1&content-type=text/plain

Index: automake-1.8-perl-5.11.patch
===================================================================
>From 375912c466b28a6121d351b9ff5513133a1c7227 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Sun, 29 Nov 2009 20:35:03 +0100
Subject: [PATCH] avoid a warning from perl-5.11

* lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's
"/d" modifier.

Signed-off-by: Ralf Wildenhues <[email protected]>
---
 ChangeLog            | 6 ++++++
 lib/Automake/Wrap.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/Automake/Wrap.pm b/lib/Automake/Wrap.pm
index 09a135a..66213d1 100644
--- a/lib/Automake/Wrap.pm
+++ b/lib/Automake/Wrap.pm
@@ -55,7 +55,7 @@ sub tab_length($)
 {
   my ($txt) = @_;
   my $len = length ($txt);
-  $len += 7 * ($txt =~ tr/\t/\t/d);
+  $len += 7 * ($txt =~ tr/\t/\t/);
   return $len;
 }
 
-- 
2.1.3




1.1                  sys-devel/automake/files/automake-1.4-perl-5.11.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.4-perl-5.11.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/files/automake-1.4-perl-5.11.patch?rev=1.1&content-type=text/plain

Index: automake-1.4-perl-5.11.patch
===================================================================
>From 375912c466b28a6121d351b9ff5513133a1c7227 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Sun, 29 Nov 2009 20:35:03 +0100
Subject: [PATCH] avoid a warning from perl-5.11

* lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's
"/d" modifier.

Signed-off-by: Ralf Wildenhues <[email protected]>
---
 ChangeLog            | 6 ++++++
 lib/Automake/Wrap.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

--- a/automake.in
+++ b/automake.in
@@ -5126,7 +5126,7 @@ sub pretty_print_internal
     # character counts for eight.  So we count the number of Tabs and
     # multiply by 7.
     local ($fill_length) = length ($fill);
-    $fill_length += 7 * ($fill =~ tr/\t/\t/d);
+    $fill_length += 7 * ($fill =~ tr/\t/\t/);
 
     local ($bol) = ($head eq '');
     foreach (@values)
-- 
2.1.3





Reply via email to