freebsd-ports/ukrainian/hunspell/files/patch-bin_verb__reverse.pl
Mathieu Arnold dfc2c35490 Fix build with Perl 5.26.
"use encoding" was removed (deprecated since 5.18), and set STDOUT to
utf8 so that it does not warn about wide characters.

PR:		226817
Sponsored by:	Absolight
2018-03-28 16:52:49 +00:00

12 lines
351 B
Perl

--- bin/verb_reverse.pl.orig 2014-09-18 02:46:59 UTC
+++ bin/verb_reverse.pl
@@ -9,8 +9,8 @@
use strict;
use locale;
use utf8;
-use encoding 'utf8';
+binmode(STDOUT, ":utf8");
my $UK_CAP ="'АБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФХЦЧШЩЬЮЯ";
my $UK_LOW ="'абвгґдеєжзиіїйклмнопрстуфхцчшщьюя";