diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-perl/Net-SNPP/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Net-SNPP/files')
-rw-r--r-- | dev-perl/Net-SNPP/files/Net-SNPP-1.17-dummy-timeout.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-perl/Net-SNPP/files/Net-SNPP-1.17-dummy-timeout.patch b/dev-perl/Net-SNPP/files/Net-SNPP-1.17-dummy-timeout.patch deleted file mode 100644 index 6b952e6643c6..000000000000 --- a/dev-perl/Net-SNPP/files/Net-SNPP-1.17-dummy-timeout.patch +++ /dev/null @@ -1,42 +0,0 @@ -From bf788b84b81d244912c4d729d21fb5fa6b131ecd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> -Date: Mon, 18 Jan 2016 14:33:00 +0100 -Subject: Define dummy Net::SNPP::Server->timeout -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since libnet-3.08, Net::Cmd subclasses should provide timeout() -method. Otherwise tests fail like in CPAN RT#111013. See #110978. - -This patch returns static 0 value because the first timeout() argument -is not an object reference. This is probably because Net::SNPP::Server -does not subclass Net::Cmd properly. See libnet's t/datasend.t for -example. - -Bug: https://rt.cpan.org/Public/Bug/Display.html?id=111013 -Signed-off-by: Petr Písař <ppisar@redhat.com> ---- - lib/Net/SNPP/Server.pm | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/lib/Net/SNPP/Server.pm b/lib/Net/SNPP/Server.pm -index 5cb999f..1482ca7 100644 ---- a/lib/Net/SNPP/Server.pm -+++ b/lib/Net/SNPP/Server.pm -@@ -129,6 +129,12 @@ sub new { - return bless( $self, $class ); - } - -+# Required by Net::Cmd, CPAN RT#111013, #110978 -+sub timeout { -+ # The $_[0] is not an object reference, cannot use $self->{Timeout} -+ 0; -+} -+ - =item client() - - Calls accept() for you and returns a client handle. This method --- -2.15.1 - |