pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
p5-Google-API-Client: patch github issue #23
Module Name: pkgsrc-wip
Committed By: Sergey Svishchev <shattered%NetBSD.org@localhost>
Pushed By: shattered
Date: Thu Apr 14 00:52:51 2016 +0300
Changeset: c9cf8d41d3bb039ac0f8390c110b6a3faa814cf4
Modified Files:
p5-Google-API-Client/Makefile
p5-Google-API-Client/distinfo
Added Files:
p5-Google-API-Client/patches/patch-aa
Log Message:
p5-Google-API-Client: patch github issue #23
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9cf8d41d3bb039ac0f8390c110b6a3faa814cf4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-Google-API-Client/Makefile | 1 +
p5-Google-API-Client/distinfo | 1 +
p5-Google-API-Client/patches/patch-aa | 13 +++++++++++++
3 files changed, 15 insertions(+)
diffs:
diff --git a/p5-Google-API-Client/Makefile b/p5-Google-API-Client/Makefile
index e1bf181..cfc624c 100644
--- a/p5-Google-API-Client/Makefile
+++ b/p5-Google-API-Client/Makefile
@@ -2,6 +2,7 @@
DISTNAME= Google-API-Client-0.14
PKGNAME= p5-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= net perl5 www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SH/SHIGETA/}
diff --git a/p5-Google-API-Client/distinfo b/p5-Google-API-Client/distinfo
index 920bf2a..9abab35 100644
--- a/p5-Google-API-Client/distinfo
+++ b/p5-Google-API-Client/distinfo
@@ -4,3 +4,4 @@ SHA1 (Google-API-Client-0.14.tar.gz) = ff5e33fcc65a927efd557a7b11126918ed5a3386
RMD160 (Google-API-Client-0.14.tar.gz) = 5f5f0359648acc8616c5f0a16835b25d825f2d4e
SHA512 (Google-API-Client-0.14.tar.gz) = a42189b6a5cb3355505c22d902985fd4e188e75cc7ed694c720bd4323cc24401ec1268d19210103ce2d2561042256f5b6e3b994f45bc63adf5a4ab2de6766e55
Size (Google-API-Client-0.14.tar.gz) = 26009 bytes
+SHA1 (patch-aa) = 8c815f4b194b8b89a483f4aa2c9bf43f7123f63f
diff --git a/p5-Google-API-Client/patches/patch-aa b/p5-Google-API-Client/patches/patch-aa
new file mode 100644
index 0000000..4f590ab
--- /dev/null
+++ b/p5-Google-API-Client/patches/patch-aa
@@ -0,0 +1,13 @@
+https://github.com/comewalk/google-api-perl-client/issues/23
+
+--- lib/Google/API/Method.pm.orig 2014-10-18 14:08:34.000000000 +0400
++++ lib/Google/API/Method.pm 2016-02-07 18:49:33.000000000 +0300
+@@ -39,7 +39,7 @@
+ $request = HTTP::Request->new($http_method => $uri);
+ if ($self->{opt}{body}) {
+ $request->content_type('application/json');
+- $request->content($self->{json_parser}->encode($self->{opt}{body}));
++ $request->content(encode_utf8($self->{json_parser}->encode($self->{opt}{body})));
+ } else {
+ $request->content_length(0);
+ }
Home |
Main Index |
Thread Index |
Old Index