aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 17:03:04 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:51 -0500
commit38e62c81ee548c466bfa4310e6984485d64e2074 (patch)
treef6bffc3e6ab6eb8c3e564b3bf1b4198c98c27113 /gnu/packages/patches
parent3dd6bee1f2eb79aba660742a81810641b8616766 (diff)
downloadguix-38e62c81ee548c466bfa4310e6984485d64e2074.tar
guix-38e62c81ee548c466bfa4310e6984485d64e2074.tar.gz
gnu: Add Perl Net-Amazon-S3.
* 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.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch b/gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch
new file mode 100644
index 0000000000..c6408d5251
--- /dev/null
+++ b/gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch
@@ -0,0 +1,17 @@
+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 );