[libhttp-oai-perl] 04/06: Add patch to remove "use encoding" which is gone in perl 5.26.

gregor herrmann gregoa at debian.org
Fri Jul 14 22:20:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhttp-oai-perl.

commit 325e9b10ddff75d3f578bb6e2816a524a38e696e
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jul 15 00:17:15 2017 +0200

    Add patch to remove "use encoding" which is gone in perl 5.26.
    
    Closes: #866934
---
 debian/patches/series             |  1 +
 debian/patches/use-encoding.patch | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 9dd915b..39fbf64 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-pod-errors.patch
 network-tests.patch
 spelling.patch
+use-encoding.patch
diff --git a/debian/patches/use-encoding.patch b/debian/patches/use-encoding.patch
new file mode 100644
index 0000000..d043b19
--- /dev/null
+++ b/debian/patches/use-encoding.patch
@@ -0,0 +1,20 @@
+Description: 'use encoding' is gone in perl 5.26
+ Simply remove it for now; the code is ascii anyway, and
+ if the output needs utf-8, other solutions can be found.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/866934
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-07-15
+Forwarded: https://github.com/LibreCat/perl-oai-lib/pull/2
+Bug: https://github.com/LibreCat/perl-oai-lib/pull/2
+
+--- a/bin/oai_pmh.pl
++++ b/bin/oai_pmh.pl
+@@ -1,7 +1,5 @@
+ #!/usr/bin/perl
+ 
+-use encoding 'utf8';
+-
+ use HTTP::OAI;
+ use Getopt::Long;
+ use Pod::Usage;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-oai-perl.git



More information about the Pkg-perl-cvs-commits mailing list