[libclass-objecttemplate-perl] 01/05: Add patch to fix deprecation warning.
gregor herrmann
gregoa at debian.org
Sat May 2 21:22:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libclass-objecttemplate-perl.
commit d22d3252a663487c0aeccf703ec1a2b81d98a8f9
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 2 23:05:31 2015 +0200
Add patch to fix deprecation warning.
Closes: #783408
---
debian/patches/defined-array.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/defined-array.patch b/debian/patches/defined-array.patch
new file mode 100644
index 0000000..5542c2f
--- /dev/null
+++ b/debian/patches/defined-array.patch
@@ -0,0 +1,19 @@
+Description: fix warning: defined(@array) is deprecated
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/783408
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-02
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104177
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104177
+
+--- a/ObjectTemplate.pm
++++ b/ObjectTemplate.pm
+@@ -130,7 +130,7 @@
+ my $free = "\@${pkg}::_free";
+
+ # inherit any attributes from our superclasses
+- if (defined (@{"${pkg}::ISA"})) {
++ if (@{"${pkg}::ISA"}) {
+ foreach my $base_pkg (@{"${pkg}::ISA"}) {
+ push (@{"${pkg}::_ATTRIBUTES_"}, get_attribute_names($base_pkg));
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fe54ca1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+defined-array.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-objecttemplate-perl.git
More information about the Pkg-perl-cvs-commits
mailing list