Accepting request 778068 from home:tinita:branches:devel:languages:perl
- Add patch defined-array-ConstructorInjection.patch, defined-array-SetterInjection.patch OBS-URL: https://build.opensuse.org/request/show/778068 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IOC?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
281d99e8d7
commit
51ae2c85b4
11
defined-array-SetterInjection.patch
Normal file
11
defined-array-SetterInjection.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- IOC-0.29.orig/lib/IOC/Service/SetterInjection.pm 2007-04-23 01:51:12.000000000 +0200
|
||||
+++ IOC-0.29/lib/IOC/Service/SetterInjection.pm 2020-02-21 18:44:25.703631360 +0100
|
||||
@@ -43,7 +43,7 @@
|
||||
# and then to be sure, lets look for
|
||||
# either the VERSION or the ISA variables
|
||||
(defined ${"${component_class}::VERSION"}
|
||||
- || defined @{"${component_class}::ISA"})) ? 1 : 0;
|
||||
+ || @{"${component_class}::ISA"})) ? 1 : 0;
|
||||
} || eval "use $component_class";
|
||||
# throw our exception if the class fails to load
|
||||
throw IOC::ClassLoadingError "The class '$component_class' could not be loaded" => $@ if $@;
|
Reference in New Issue
Block a user