[libmemoize-memcached-perl] 04/05: Drop universal.patch, applied upstream

Florian Schlichting fsfs at moszumanska.debian.org
Fri Mar 7 20:59:20 UTC 2014


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

fsfs pushed a commit to branch master
in repository libmemoize-memcached-perl.

commit 56530dfabb9a56111222a63c26c7f3d614af55e2
Author: Florian Schlichting <fsfs at debian.org>
Date:   Fri Mar 7 21:57:17 2014 +0100

    Drop universal.patch, applied upstream
---
 debian/patches/series          |  1 -
 debian/patches/universal.patch | 33 ---------------------------------
 2 files changed, 34 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 6636e9d..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-universal.patch
diff --git a/debian/patches/universal.patch b/debian/patches/universal.patch
deleted file mode 100644
index 410ecda..0000000
--- a/debian/patches/universal.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Author: Nicholas Bamber <nicholas at periapt.co.uk>
-Subject: UNIVERSAL::import deprecated in perl 5.12
-Last-Update: 2011-05-13
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614868
-Bug: http://rt.cpan.org/Ticket/Display.html?id=68170
---- a/lib/Memoize/Memcached.pm
-+++ b/lib/Memoize/Memcached.pm
-@@ -3,7 +3,6 @@
- use strict;
- use warnings;
- 
--use UNIVERSAL qw( isa );
- use Carp qw( carp croak );
- use Memoize qw( unmemoize );
- use Cache::Memcached;
-@@ -49,7 +48,7 @@
- 
-   my $memcached_args = delete $args{memcached} || {};
-   croak "Invalid memcached argument (expected a hash)"
--    unless isa($memcached_args, 'HASH');
-+    unless ref $memcached_args eq 'HASH';
- 
-   _memcached_setup(
-     %{$memcached_args},
-@@ -138,7 +137,7 @@
-     next unless $arg eq 'memcached';
-     (undef, my $memcached_config) = splice @_, $idx, 2;
-     croak "Invalid memcached config (expected a hash ref)"
--      unless isa($memcached_config, 'HASH');
-+      unless ref $memcached_config eq 'HASH';
-     %memcached_config = %{$memcached_config};
-   }
- 

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



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