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

gregoa pushed a commit to branch master
in repository libogg-vorbis-header-pureperl-perl.

commit f7113a62ea770bf6461a607816024361cac23a3a
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Jun 20 16:32:23 2015 +0200

    Add patch to fix "Can't use an array as a reference" error.
    
    Closes: #789387
---
 ...se_of_array_as_reference_rt_cpan_org_96578.diff | 31 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 32 insertions(+)

diff --git 
a/debian/patches/eliminate_deprecated_use_of_array_as_reference_rt_cpan_org_96578.diff
 
b/debian/patches/eliminate_deprecated_use_of_array_as_reference_rt_cpan_org_96578.diff
new file mode 100644
index 0000000..feafa85
--- /dev/null
+++ 
b/debian/patches/eliminate_deprecated_use_of_array_as_reference_rt_cpan_org_96578.diff
@@ -0,0 +1,31 @@
+Description: fix "Can't use an array as a reference"
+Origin: CPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=96578
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=96578
+Bug-Debian: https://bugs.debian.org/789387
+Author: Jim Keenan <jkee...@cpan.org>
+Reviewed-by: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-06-20
+
+--- a/test.pl
++++ b/test.pl
+@@ -19,16 +19,16 @@
+ # Try all the routines
+ ok($ogg->info->{'rate'} == 44100);
+ ok($ogg->comment_tags);
+-ok(@{$ogg->comment('artist')}->[0] == 'maloi');
++ok($ogg->comment('artist')->[0] == 'maloi');
+ 
+ $ogg = 0;
+ 
+ # See if full load works
+ ok(my $ogg = Ogg::Vorbis::Header::PurePerl->new('test.ogg'));
+-ok(@{$ogg->comment('artist')}->[0] == 'maloi');
++ok($ogg->comment('artist')->[0] == 'maloi');
+ 
+ # and see if we can get comments including the '=' character
+-ok(@{$ogg->comment('album')}->[0] == 'this=that');
++ok($ogg->comment('album')->[0] == 'this=that');
+ 
+ # Make sure we're getting the right track length
+ ok($ogg->info->{'length'} == 0);
diff --git a/debian/patches/series b/debian/patches/series
index 0119c6e..3bba933 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 tracklength.patch
+eliminate_deprecated_use_of_array_as_reference_rt_cpan_org_96578.diff

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to