[SCM] Debian packaging of librpc-xml-perl branch, master, updated. debian/0.76-3-13-g6cfe230

Xavier Guimard x.guimard at free.fr
Sun Feb 3 10:43:11 UTC 2013


The following commit has been merged in the master branch:
commit 9b0aca9811df10b12e753a6ca35296a06e7aecf4
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Sun Feb 3 11:25:49 2013 +0100

    Remove Net-Server-2.x-compatibility.patch now fixed in upstream

diff --git a/debian/patches/Net-Server-2.x-compatibility.patch b/debian/patches/Net-Server-2.x-compatibility.patch
deleted file mode 100644
index ee78339..0000000
--- a/debian/patches/Net-Server-2.x-compatibility.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Description: Net::Server 2.x compatibility
-Origin: vendor
-Forwarded: no
-Author: Niko Tyni <ntyni at debian.org>
-Last-Update: 2012-06-25
-
-Newer versions of Net::Server bless the client connection to a subclass
-like Net::Server::Proto::TCP, breaking the check for an already blessed
-HTTP::Daemon::ClientConn and making all connections fail with errors like
-
- Can't locate object method "get_request" via package "Net::Server::Proto::TCP" at /home/niko/tmp/librpc-xml-perl-0.76/blib/lib/RPC/XML/Server.pm line 828.
-
-(Example: http://bugs.debian.org/678767)
-
-Explicitly test for the get_request method that we need
-from HTTP::Daemon::ClientConn.
----
- lib/RPC/XML/Server.pm |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/RPC/XML/Server.pm b/lib/RPC/XML/Server.pm
-index 97a8c03..55c59c5 100644
---- a/lib/RPC/XML/Server.pm
-+++ b/lib/RPC/XML/Server.pm
-@@ -798,7 +798,7 @@ sub process_request ## no critic (ProhibitExcessComplexity)
-     );
- 
-     my $me = ref($self) . '::process_request';
--    if (! ($conn && ref $conn))
-+    if (! ($conn && ref $conn && $conn->can('get_request')))
-     {
-         $conn = $self->{server}->{client};
-         bless $conn, 'HTTP::Daemon::ClientConn';

-- 
Debian packaging of librpc-xml-perl



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