[libsoap-wsdl-perl] 07/12: Drop load-with-Class::Load.patch, applied upstream

Damyan Ivanov dmn at moszumanska.debian.org
Fri Jun 12 12:41:07 UTC 2015


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

dmn pushed a commit to branch master
in repository libsoap-wsdl-perl.

commit 3819caff2cff5fb3bb55beb1403ca04924eb7cca
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri Jun 12 12:25:38 2015 +0000

    Drop load-with-Class::Load.patch, applied upstream
---
 debian/patches/load-with-Class::Load.patch | 42 ------------------------------
 debian/patches/series                      |  1 -
 2 files changed, 43 deletions(-)

diff --git a/debian/patches/load-with-Class::Load.patch b/debian/patches/load-with-Class::Load.patch
deleted file mode 100644
index bf6802a..0000000
--- a/debian/patches/load-with-Class::Load.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Description: fix class loading with Perl 5.18
- In Perl 5.18 everything is an object, so $type->isa('UNIVERSAL') succeeds even
- when $type is a plain string representng a class that was never loaded.
- .
- Deferring the check and the actual class loading to Class::Load fixes the
- issue.
-Author: Damyan Ivanov <dmn at debian.org>
-Bug: https://rt.cpan.org/Ticket/Display.html?id=74257
-Bug-Debian: http://bugs.debian.org/720964
-
---- a/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm
-+++ b/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm
-@@ -7,6 +7,7 @@ use SOAP::WSDL::XSD::Typelib::Builtin;
- use Scalar::Util qw(blessed);
- use Data::Dumper;
- require Class::Std::Fast::Storable;
-+use Class::Load ();
- 
- use base qw(SOAP::WSDL::XSD::Typelib::Builtin::anyType);
- 
-@@ -155,9 +156,8 @@ sub _factory {
-         my $type = $CLASSES_OF{ $class }->{ $name }
-             or croak "No class given for $name";
- 
--        # require all types here
--        $type->isa('UNIVERSAL')
--            or eval "require $type"
-+        Class::Load::is_class_loaded($type)
-+            or eval { Class::Load::load_class $type }
-                 or croak $@;
- 
-         # check now, so we don't need to do it later.
---- a/META.yml
-+++ b/META.yml
-@@ -8,6 +8,7 @@ license: artistic
- resources:
-   license: http://opensource.org/licenses/artistic-license.php
- requires:
-+  Class::Load: 0
-   Class::Std::Fast: 0.0.5
-   Data::Dumper: 0
-   Date::Format: 0
diff --git a/debian/patches/series b/debian/patches/series
index b105d85..cd27528 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,5 @@
 pod-whatis.patch
 pod-spelling.patch
-load-with-Class::Load.patch
 prefix_from_namespace.patch
 use-Test::XML.patch
 fix-HeaderFault-base.patch

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



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