[libdbix-class-helpers-perl] 01/02: Slightly patch a deprecated module to fix a compile time error

Niko Tyni ntyni at moszumanska.debian.org
Fri Sep 19 10:06:38 UTC 2014


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

ntyni pushed a commit to branch master
in repository libdbix-class-helpers-perl.

commit 2c4e676185d8df42c7aa826931a9cacca720efee
Author: Niko Tyni <ntyni at debian.org>
Date:   Fri Sep 19 12:57:20 2014 +0300

    Slightly patch a deprecated module to fix a compile time error
---
 ...a-strictness-error-in-a-deprecated-module.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/0001-Fix-a-strictness-error-in-a-deprecated-module.patch b/debian/patches/0001-Fix-a-strictness-error-in-a-deprecated-module.patch
new file mode 100644
index 0000000..2cad8bb
--- /dev/null
+++ b/debian/patches/0001-Fix-a-strictness-error-in-a-deprecated-module.patch
@@ -0,0 +1,27 @@
+From 3502789f7aaabf4490fb060e238d69258704ee26 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Fri, 19 Sep 2014 12:54:58 +0300
+Subject: [PATCH] Fix a strictness error in a deprecated module
+
+The deprecation messages refer to $VERSION, which isn't
+declared despite 'use strict'. This causes a compile
+time error.
+---
+ lib/DBIx/Class/Helper/ResultSet/VirtualView.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/DBIx/Class/Helper/ResultSet/VirtualView.pm b/lib/DBIx/Class/Helper/ResultSet/VirtualView.pm
+index 71403b8..c17a7b7 100644
+--- a/lib/DBIx/Class/Helper/ResultSet/VirtualView.pm
++++ b/lib/DBIx/Class/Helper/ResultSet/VirtualView.pm
+@@ -2,6 +2,7 @@ package DBIx::Class::Helper::ResultSet::VirtualView;
+ $DBIx::Class::Helper::ResultSet::VirtualView::VERSION = '2.023006';
+ use strict;
+ use warnings;
++use vars qw($VERSION);
+ 
+ # ABSTRACT: Clean up your SQL namespace (DEPRECATED)
+ 
+-- 
+2.1.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..30ac1e7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-a-strictness-error-in-a-deprecated-module.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbix-class-helpers-perl.git



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