This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libnet-pcap-perl.

commit 18e0a64e0fd78d2ca079cbfd7f3f3525cd1a722c
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Nov 12 17:40:13 2016 +0100

    Add patch from CPAN RT for libpcap 1.8 compatibility.
    
    Closes: #843704
---
 ...t-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch | 40 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch 
b/debian/patches/Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch
new file mode 100644
index 0000000..cb2c2c7
--- /dev/null
+++ b/debian/patches/Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch
@@ -0,0 +1,40 @@
+From 52607780c02ee90a93bd40e91c5263e55e7a351c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+Date: Wed, 5 Oct 2016 15:54:02 +0200
+Subject: [PATCH] Adapt a test to libpcap-1.8.0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+libpcap-1.8.0 changed error message on invalid filter expression from
+"syntax error" to "syntax error in filter expression: syntax error".
+
+This patch adjust the t/09-error.t for that.
+
+CPAN RT#117831
+
+Signed-off-by: Petr Písař <ppi...@redhat.com>
+
+
+Bugs-Debian: https://bugs.debian.org/843704
+
+---
+ t/09-error.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/09-error.t b/t/09-error.t
+index bcd2a13..ef8f0b2 100644
+--- a/t/09-error.t
++++ b/t/09-error.t
+@@ -22,7 +22,7 @@ is(   $@,   '', "compile() with an invalid filter string" );
+ is(   $res, -1, " - result must not be null: $res" );
+ eval { $err = Net::Pcap::geterr($pcap) };
+ is(   $@,   '', "geterr()" );
+-like( $err, '/^(?:parse|syntax) error$/', " - \$err must not be null: $err" );
++like( $err, '/(?:parse|syntax) error$/', " - \$err must not be null: $err" );
+ 
+ # Testing compile() with a valid filter
+ eval { $res = Net::Pcap::compile($pcap, \$filter, "tcp", 0, $mask) };
+-- 
+2.7.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8348c88
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libnet-pcap-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

Reply via email to