[libgit-pureperl-perl] 09/10: added patch to fix perl 5.18 FTBFS #711443

Jonas Genannt jonas at brachium-system.net
Fri Aug 16 20:29:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

hggh-guest pushed a commit to branch master
in repository libgit-pureperl-perl.

commit 761e64767593391d41fcd1d02129d703f9351a07
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Fri Aug 16 19:31:17 2013 +0200

    added patch to fix perl 5.18 FTBFS #711443
---
 debian/patches/perl_518_qw_in_list.patch |   30 ++++++++++++++++++++++++++++++
 debian/patches/series                    |    1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/perl_518_qw_in_list.patch b/debian/patches/perl_518_qw_in_list.patch
new file mode 100644
index 0000000..cc5270b
--- /dev/null
+++ b/debian/patches/perl_518_qw_in_list.patch
@@ -0,0 +1,30 @@
+Description: qw() in list context is an error now
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/711443
+Bug: https://rt.cpan.org/Ticket/Display.html?id=86018
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=86018
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-06-09
+
+--- a/t/00_setup.t
++++ b/t/00_setup.t
+@@ -4,7 +4,7 @@
+ use Test::More;
+ use Archive::Extract;
+ 
+-foreach my $name qw(test-project test-project-packs test-project-packs2 test-encoding) {
++foreach my $name (qw(test-project test-project-packs test-project-packs2 test-encoding)) {
+     next if -d $name;
+     my $ae = Archive::Extract->new( archive => "$name.tgz" );
+     $ae->extract;
+--- a/t/simple.t
++++ b/t/simple.t
+@@ -7,7 +7,7 @@
+ 
+ my $checkout_directory = dir('t/checkout');
+ 
+-foreach my $directory qw(test-project test-project-packs test-project-packs2)
++foreach my $directory (qw(test-project test-project-packs test-project-packs2))
+ {
+     my $git = Git::PurePerl->new( directory => $directory );
+     like( $git->master_sha1, qr/^[a-z0-9]{40}$/ );
diff --git a/debian/patches/series b/debian/patches/series
index cf4be3a..8ce63b8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 disable_test.patch
+perl_518_qw_in_list.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgit-pureperl-perl.git



More information about the Pkg-perl-cvs-commits mailing list