Control: tag -1 + patch On Mon, 07 Aug 2017 11:53:15 -0400, Lucas Nussbaum wrote:
> > make[2]: Entering directory '/<<PKGBUILDDIR>>/src/Affix' > > ../../bin/verb_reverse.pl < uk.aff.VERB > uk.aff.VERB_REV > > The encoding pragma is no longer supported at ../../bin/verb_reverse.pl > > line 12. > > BEGIN failed--compilation aborted at ../../bin/verb_reverse.pl line 12. > > Makefile:21: recipe for target 'uk.aff.VERB_REV' failed > > make[2]: *** [uk.aff.VERB_REV] Error 255 Here's a patch to fix the perl 5.26 errors. Cheers, gregor -- .''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `-
diff -Nru ispell-uk-1.7.1/debian/changelog ispell-uk-1.7.1/debian/changelog --- ispell-uk-1.7.1/debian/changelog 2014-04-30 16:00:22.000000000 -0400 +++ ispell-uk-1.7.1/debian/changelog 2017-08-08 11:55:48.000000000 -0400 @@ -1,3 +1,14 @@ +ispell-uk (1.7.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS: The encoding pragma is no longer supported at + ../../bin/verb_reverse.pl line 12.": + Add perl5.26-encoding.patch: replace "use encoding" with "use open" in + perl helper scripts. Additionally run ispell build in debian/rules under + C.UTF-8. (Closes: #871349) + + -- gregor herrmann <[email protected]> Tue, 08 Aug 2017 11:55:48 -0400 + ispell-uk (1.7.1-1) unstable; urgency=medium * New upstream release diff -Nru ispell-uk-1.7.1/debian/patches/perl5.26-encoding.patch ispell-uk-1.7.1/debian/patches/perl5.26-encoding.patch --- ispell-uk-1.7.1/debian/patches/perl5.26-encoding.patch 1969-12-31 19:00:00.000000000 -0500 +++ ispell-uk-1.7.1/debian/patches/perl5.26-encoding.patch 2017-08-08 11:55:48.000000000 -0400 @@ -0,0 +1,31 @@ +Description: "use encoding" is removed in perl 5.26 + As "use utf8" for the source is already there, just make sure + we open the standard file handles as UTF-8. +Origin: vendor +Bug-Debian: https://bugs.debian.org/871349 +Forwarded: no +Author: gregor herrmann <[email protected]> +Last-Update: 2017-08-08 + +--- a/bin/verb_reverse.pl ++++ b/bin/verb_reverse.pl +@@ -9,7 +9,7 @@ + use strict; + use locale; + use utf8; +-use encoding 'utf8'; ++use open qw(:std :encoding(UTF-8)); + + + my $UK_CAP ="'АБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФХЦЧШЩЬЮЯ"; +--- a/bin/affconv.pl ++++ b/bin/affconv.pl +@@ -5,7 +5,7 @@ + use strict; + use locale; + use utf8; +-use encoding 'utf8'; ++use open qw(:std :encoding(UTF-8)); + + my (%pfx, %sfx); + diff -Nru ispell-uk-1.7.1/debian/patches/series ispell-uk-1.7.1/debian/patches/series --- ispell-uk-1.7.1/debian/patches/series 2014-04-30 16:00:22.000000000 -0400 +++ ispell-uk-1.7.1/debian/patches/series 2017-08-08 11:55:48.000000000 -0400 @@ -1 +1,2 @@ +perl5.26-encoding.patch diff -Nru ispell-uk-1.7.1/debian/rules ispell-uk-1.7.1/debian/rules --- ispell-uk-1.7.1/debian/rules 2014-04-30 16:00:22.000000000 -0400 +++ ispell-uk-1.7.1/debian/rules 2017-08-08 11:55:48.000000000 -0400 @@ -21,7 +21,7 @@ build-arch: build-arch-stamp build-arch-stamp: locale - LOCPATH=$(LOCALE_PATH) $(MAKE) ispell + LC_ALL=C.UTF-8 LOCPATH=$(LOCALE_PATH) $(MAKE) ispell touch build-arch-stamp build-indep: build-indep-stamp
signature.asc
Description: Digital Signature

