[libemail-mime-createhtml-perl] 02/03: Drop 0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch

Salvatore Bonaccorso carnil at debian.org
Wed Aug 20 06:09:33 UTC 2014


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

carnil pushed a commit to branch master
in repository libemail-mime-createhtml-perl.

commit 2b0cc503247fc4680bea65f28d1d3ee07f8b1751
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Wed Aug 20 08:02:40 2014 +0200

    Drop 0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch
---
 ...ssed-not-UNIVERSAL-isa-to-test-objecthood.patch | 50 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 51 deletions(-)

diff --git a/debian/patches/0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch b/debian/patches/0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch
deleted file mode 100644
index c5569d7..0000000
--- a/debian/patches/0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Origin: https://rt.cpan.org/Public/Bug/Display.html?id=90063
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=90063,
- https://rt.cpan.org/Public/Bug/Display.html?id=85953
-Bug-Debian: http://bugs.debian.org/711439
-Forwarded: not needed
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-11-24
-
-From 52a0848ce4c2fd3133fd2cdc662c3c2e72b13dc7 Mon Sep 17 00:00:00 2001
-From: Ricardo Signes <rjbs at cpan.org>
-Date: Tue, 5 Nov 2013 09:53:21 -0500
-Subject: [PATCH] use blessed, not UNIVERSAL::isa, to test objecthood
-
-Without this, we fail on more recent perls, where things are
-considered to be isa(UNIVERSAL) much more often (and reliably).
----
- lib/Email/MIME/CreateHTML/Resolver.pm | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/lib/Email/MIME/CreateHTML/Resolver.pm b/lib/Email/MIME/CreateHTML/Resolver.pm
-index e5dd2b1..94cb271 100644
---- a/lib/Email/MIME/CreateHTML/Resolver.pm
-+++ b/lib/Email/MIME/CreateHTML/Resolver.pm
-@@ -9,6 +9,7 @@ package Email::MIME::CreateHTML::Resolver;
- 
- use strict;
- use Carp;
-+use Scalar::Util ();
- 
- use vars qw($VERSION $HaveCache $HaveLWP $HaveFilesystem);
- $VERSION = sprintf "%d.%03d", q$Revision: 1.5 $ =~ /: (\d+)\.(\d+)/;
-@@ -43,13 +44,13 @@ sub new {
- 	#Do some sanity checking of inputs
- 	my $resolver = $args->{resolver};
- 	if(defined $resolver) {
--		confess "resolver must be an object" unless ( UNIVERSAL::isa($resolver,'UNIVERSAL') );
-+		confess "resolver must be an object" unless Scalar::Util::blessed($resolver);
- 		confess "resolver does not seem to use the expected interface (get_resource)" unless ($resolver->can('get_resource'));
- 	}
- 
- 	my $object_cache = $args->{'object_cache'};
- 	if(defined $object_cache ) {
--		confess "object_cache must be an object" unless ( UNIVERSAL::isa($object_cache,'UNIVERSAL') );
-+		confess "object_cache must be an object" unless Scalar::Util::blessed($object_cache);
- 		confess "object_cache does not seem to use the expected cache interface (get and set methods)" 
- 			unless ($object_cache->can('get') && $object_cache->can('set'));
- 		warn("Caching support is not available - object_cache will not be used") unless($HaveCache);
--- 
-1.8.4.1
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index a914fdf..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libemail-mime-createhtml-perl.git



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