This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libnanomsg-raw-perl.
commit f5e1d4786ea4639d8e9ea91728e031aac8725232 Author: gregor herrmann <gre...@debian.org> Date: Sun Oct 30 17:28:56 2016 +0100 Drop patches, either applied or taken from upstream. --- ...01-Fix-test-cases-with-libnanomsg-0.8beta.patch | 100 --------------------- debian/patches/fix_spelling_error_in_manpage.patch | 17 ---- debian/patches/series | 2 - 3 files changed, 119 deletions(-) diff --git a/debian/patches/0001-Fix-test-cases-with-libnanomsg-0.8beta.patch b/debian/patches/0001-Fix-test-cases-with-libnanomsg-0.8beta.patch deleted file mode 100644 index f0c2e61..0000000 --- a/debian/patches/0001-Fix-test-cases-with-libnanomsg-0.8beta.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 42e2d40aa6f0ed363e2788607d893597ba3c6204 Mon Sep 17 00:00:00 2001 -From: Boris Zentner <b...@2bz.de> -Date: Fri, 18 Dec 2015 20:48:07 +0100 -Subject: [PATCH] Fix test cases with libnanomsg-0.8beta - -libnanomsg-0.8's error message is more specific and return ETIMEDOUT instead of -EAGAIN ---- - t/inproc.t | 4 ++-- - t/separation.t | 8 ++++---- - t/timeo.t | 4 ++-- - 3 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/t/inproc.t b/t/inproc.t -index 008a1c4..cd79c25 100644 ---- a/t/inproc.t -+++ b/t/inproc.t -@@ -52,7 +52,7 @@ my $socket_address = 'inproc://test'; - while (1) { - my $ret = nn_send $sc, '0123456789', 0; - if (!defined $ret) { -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - last; - } - is $ret, 10; -@@ -63,7 +63,7 @@ my $socket_address = 'inproc://test'; - is nn_recv($sb, my $buf, 256, 0), 10; - is nn_send($sc, '0123456789', 0), 10; - ok !defined nn_send($sc, '0123456789', 0); -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - - is nn_recv($sb, $buf, 256, 0), 10 for 1 .. 20; - -diff --git a/t/separation.t b/t/separation.t -index 84a9b7d..d0e34bd 100644 ---- a/t/separation.t -+++ b/t/separation.t -@@ -21,7 +21,7 @@ my $socket_address_tcp = 'tcp://127.0.0.1:' . empty_port; - ok nn_setsockopt($pair, NN_SOL_SOCKET, NN_SNDTIMEO, 100); - - is nn_send($pair, 'ABC', 0), undef; -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - - ok nn_close $_ for $pull, $pair; - } -@@ -38,7 +38,7 @@ my $socket_address_tcp = 'tcp://127.0.0.1:' . empty_port; - ok nn_setsockopt($pair, NN_SOL_SOCKET, NN_SNDTIMEO, 100); - - is nn_send($pair, 'ABC', 0), undef; -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - - ok nn_close $_ for $pull, $pair; - } -@@ -55,7 +55,7 @@ my $socket_address_tcp = 'tcp://127.0.0.1:' . empty_port; - ok nn_setsockopt($pair, NN_SOL_SOCKET, NN_SNDTIMEO, 100); - - is nn_send($pair, 'ABC', 0), undef; -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - - ok nn_close $_ for $pull, $pair; - } -@@ -72,7 +72,7 @@ my $socket_address_tcp = 'tcp://127.0.0.1:' . empty_port; - ok nn_setsockopt($pair, NN_SOL_SOCKET, NN_SNDTIMEO, 100); - - is nn_send($pair, 'ABC', 0), undef; -- ok nn_errno == EAGAIN; -+ ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - - ok nn_close $_ for $pull, $pair; - } -diff --git a/t/timeo.t b/t/timeo.t -index eafd257..0fe311f 100644 ---- a/t/timeo.t -+++ b/t/timeo.t -@@ -25,7 +25,7 @@ my ($elapsed, $ret) = timeit { - }; - - ok !defined $ret; --ok nn_errno == EAGAIN; -+ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - cmp_ok $elapsed, '>=', 0.1; - cmp_ok $elapsed, '<=', 0.12; - -@@ -36,7 +36,7 @@ ok nn_setsockopt($s, NN_SOL_SOCKET, NN_SNDTIMEO, $timeo); - }; - - ok !defined $ret; --ok nn_errno == EAGAIN; -+ok ( nn_errno == EAGAIN or nn_errno == ETIMEDOUT ); - cmp_ok $elapsed, '>=', 0.1; - cmp_ok $elapsed, '<=', 0.12; - --- -2.8.1 - diff --git a/debian/patches/fix_spelling_error_in_manpage.patch b/debian/patches/fix_spelling_error_in_manpage.patch deleted file mode 100644 index ef0c336..0000000 --- a/debian/patches/fix_spelling_error_in_manpage.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: fix spelling error in manpage -Author: Lucas Kanashiro <kanashiro.dua...@gmail.com> -Last-Update: 2015-09-30 -Forwarded: https://rt.cpan.org/Ticket/Display.html?id=107425 -Bug: https://rt.cpan.org/Ticket/Display.html?id=107425 - ---- a/lib/NanoMsg/Raw.pm -+++ b/lib/NanoMsg/Raw.pm -@@ -966,7 +966,7 @@ In the future, C<nn_recvmsg> might allow - - Allocate a message of the specified C<$size> to be sent in zero-copy - fashion. The content of the message is undefined after allocation and it should --be filled in by the user. While C<nn_send> and C<nn_sendmsg> allow to send -+be filled in by the user. While C<nn_send> and C<nn_sendmsg> allow one to send - arbitrary buffers, buffers allocated using C<nn_allocmsg> can be more efficient - for large messages as they allow for using zero-copy techniques. - diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index fb65003..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -fix_spelling_error_in_manpage.patch -0001-Fix-test-cases-with-libnanomsg-0.8beta.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnanomsg-raw-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits