]> git.pld-linux.org Git - packages/perl-SOAP-Lite.git/commitdiff
- patch redefine warnings out in strict mode
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Jun 2008 15:32:03 +0000 (15:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-SOAP-Lite-warnings.patch -> 1.1

perl-SOAP-Lite-warnings.patch [new file with mode: 0644]

diff --git a/perl-SOAP-Lite-warnings.patch b/perl-SOAP-Lite-warnings.patch
new file mode 100644 (file)
index 0000000..44d1b44
--- /dev/null
@@ -0,0 +1,18 @@
+patch with help from
+http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/c1808cff6a5b90a0/971d98754aba2db7
+
+--- SOAP-Lite-0.71/lib/SOAP/Transport/HTTP.pm~ 2008-06-02 18:28:30.000000000 +0300
++++ SOAP-Lite-0.71/lib/SOAP/Transport/HTTP.pm  2008-06-02 18:28:31.914669508 +0300
+@@ -37,10 +37,12 @@
+     return if $_patched;
+     BEGIN { local ($^W) = 0; }
+     {
++              no warnings "redefine";
+         sub LWP::UserAgent::redirect_ok; *LWP::UserAgent::redirect_ok = sub {1}
+     }
+     {
+         package LWP::Protocol;
++              no warnings "redefine";
+         my $collect = \&collect; # store original
+         *collect = sub {
+             if (defined $_[2]->header('Connection')
This page took 0.228873 seconds and 4 git commands to generate.