This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libcgi-ssi-perl.
commit e47801fdba0352db025663ec93a90a2c5c14673e Author: gregor herrmann <gre...@debian.org> Date: Mon Jun 29 21:53:05 2015 +0200 Add patch to avoid deprecated POSIX::tmpnam() in test.pl. Closes: #790348 --- debian/patches/posix-tmpnam.patch | 30 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) diff --git a/debian/patches/posix-tmpnam.patch b/debian/patches/posix-tmpnam.patch new file mode 100644 index 0000000..636e411 --- /dev/null +++ b/debian/patches/posix-tmpnam.patch @@ -0,0 +1,30 @@ +Description: use File::Temp's tmpnam() instead of POSIX'. + The latter is deprecated and throws loud warnings under 5.22, + which lead to test failures due to the equally deprecated + "use warnings fatal => 'ALL';". +Origin: vendor +Bug-Debian: https://bugs.debian.org/790348 +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2015-06-29 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105562 +Bug: https://rt.cpan.org/Ticket/Display.html?id=105562 + +--- a/test.pl ++++ b/test.pl +@@ -4,7 +4,7 @@ + use Test::More tests => 29; + + use List::Util qw(sum); +-use File::Temp qw(tempfile tempdir); ++use File::Temp qw(tempfile tempdir tmpnam); + + use_ok('CGI::SSI'); + +@@ -65,7 +65,6 @@ + + # create a tmp file for testing. + use IO::File; +- use POSIX qw(tmpnam); + + my($filename,$fh); # Thanks, Perl Cookbook! + do { $filename = tmpnam() } until $fh = IO::File->new($filename, O_RDWR|O_CREAT|O_EXCL); diff --git a/debian/patches/series b/debian/patches/series index a430219..471f251 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 010-test_without_network.patch spelling.patch +posix-tmpnam.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-ssi-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