archrelease: copy trunk to community-any
[ArchLinux/community.git] / aspell-uk / trunk / aspell-uk-perl-5.26.patch
blob5c2fb524c189307ab3839120a15d836ff4bc0f90
1 Description: "use encoding" is removed in perl 5.26
2 As "use utf8" for the source is already there, just make sure
3 we open the standard file handles as UTF-8.
4 Origin: vendor
5 Bug-Debian: https://bugs.debian.org/871349
6 Forwarded: no
7 Author: gregor herrmann <gregoa@debian.org>
8 Last-Update: 2017-08-08
10 --- a/bin/verb_reverse.pl
11 +++ b/bin/verb_reverse.pl
12 @@ -9,7 +9,7 @@
13 use strict;
14 use locale;
15 use utf8;
16 -use encoding 'utf8';
17 +use open qw(:std :encoding(UTF-8));
20 my $UK_CAP ="'АБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФХЦЧШЩЬЮЯ";
21 --- a/bin/affconv.pl
22 +++ b/bin/affconv.pl
23 @@ -5,7 +5,7 @@
24 use strict;
25 use locale;
26 use utf8;
27 -use encoding 'utf8';
28 +use open qw(:std :encoding(UTF-8));
30 my (%pfx, %sfx);