Merge pull request #25283 from Mic92/file-slurp

perlPackages.FileSlurp: silence perl 5.24.1 warnings
This commit is contained in:
Jörg Thalheim 2017-05-01 11:44:32 +02:00 committed by GitHub
commit 8b5c1ec440
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- File-Slurp-9999.19.orig/lib/File/Slurp.pm 2011-05-30 21:58:53.000000000 +0200
+++ File-Slurp-9999.19/lib/File/Slurp.pm 2017-04-28 10:05:59.047681755 +0200
@@ -4,6 +4,7 @@
use strict;
use warnings ;
+no warnings 'deprecated';
use Carp ;
use Exporter ;

View file

@ -5537,6 +5537,8 @@ let self = _self // overrides; _self = with self; {
FileSlurp = buildPerlPackage {
name = "File-Slurp-9999.19";
# WARNING: check on next update if deprecation warning is gone
patches = [ ../development/perl-modules/File-Slurp/silence-deprecation.patch ];
src = fetchurl {
url = mirror://cpan/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz;
sha256 = "0hrn4nipwx40d6ji8ssgr5nw986z9iqq8cn0kdpbszh9jplynaff";