mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
38e62c81ee
* gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/web.scm (perl-net-amazon-s3): New variable.
17 lines
671 B
Diff
17 lines
671 B
Diff
Patch borrowed from nixpkgs. Works around warning message produced by the
|
|
current version of Moose:
|
|
|
|
"Passing a list of values to enum is deprecated. Enum values should be wrapped
|
|
in an arrayref."
|
|
|
|
--- Net-Amazon-S3-0.60/lib/Net/Amazon/S3/Client/Object.pm 2015-04-15 16:18:47.226410022 -0500
|
|
+++ Net-Amazon-S3-0.60/lib/Net/Amazon/S3/Client/Object.pm 2015-04-15 16:19:25.410408425 -0500
|
|
@@ -19,7 +19,7 @@
|
|
[ qw(private public-read public-read-write authenticated-read) ];
|
|
|
|
enum 'StorageClass' =>
|
|
- qw(standard reduced_redundancy);
|
|
+ [ qw(standard reduced_redundancy) ];
|
|
|
|
has 'client' =>
|
|
( is => 'ro', isa => 'Net::Amazon::S3::Client', required => 1 );
|