SOURCES: perl-SOAP-Lite-warnings.patch (NEW) - patch redefine warnings out ...

glen glen at pld-linux.org
Mon Jun 2 17:32:08 CEST 2008


Author: glen                         Date: Mon Jun  2 15:32:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch redefine warnings out in strict mode

---- Files affected:
SOURCES:
   perl-SOAP-Lite-warnings.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/perl-SOAP-Lite-warnings.patch
diff -u /dev/null SOURCES/perl-SOAP-Lite-warnings.patch:1.1
--- /dev/null	Mon Jun  2 17:32:08 2008
+++ SOURCES/perl-SOAP-Lite-warnings.patch	Mon Jun  2 17:32:03 2008
@@ -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')
================================================================


More information about the pld-cvs-commit mailing list