On Tue, Nov 12, 2013 at 04:32:49PM +0100, gregor herrmann wrote: > On Fri, 08 Nov 2013 22:06:51 +0100, gregor herrmann wrote: > > > here's a patch for this issue.
Note that you are changing way more things that needed, including strings that are explicitly in a given charset, which is wrong. This can be fixed in a simpler way by declaring charset, see attached patch, also including your typo fix and removal of ancient CVS string. Regards, -- Agustin
diff --git a/debian/changelog b/debian/changelog index fa5d849..f91578e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +hunspell (1.3.2-5) unstable; urgency=low + + [gregor herrmann] + * debian/ispellaff2myspell: Fix typo. + + [Agustin Martin] + * debian/ispellaff2myspell: + - Declare encoding to fix "FTBFS: POD error" (Closes: #724115). + - Remove ancient CVS string. + + -- + hunspell (1.3.2-4) unstable; urgency=low * upload to unstable diff --git a/debian/ispellaff2myspell b/debian/ispellaff2myspell index 6f2e79e..0cf9e51 100644 --- a/debian/ispellaff2myspell +++ b/debian/ispellaff2myspell @@ -1,6 +1,5 @@ #!/usr/bin/perl -w # -*- coding: iso-8859-1 -*- -# $Id: ispellaff2myspell,v 1.29 2005/07/04 12:21:55 agmartin Exp $ # # (C) 2002-2005 Agustin Martin Domingo <agustin.mar...@hispalinux.es> # @@ -115,7 +114,7 @@ sub mylc{ if ( not $lowercase and not $uppercase ){ die "Unsupported charset [$charset] -use explicitely --lowercase=string and --uppercase=string +use explicitly --lowercase=string and --uppercase=string options. Remember that both string must match exactly, but case changed. "; @@ -327,6 +326,8 @@ if ( $replacements ){ __END__ +=encoding ISO8859-1 + =head1 NAME B<ispellaff2myspell> - A program to convert ispell affix tables to myspell format. @@ -402,8 +403,8 @@ flags and pass them unmodified. You will need a call to -e for each flag type, e.g., B<-e "\\\\" -e "~\\\\"> (or B<-e '\\' -e '~\\'>). -When a prefix is explicitely set, the default value (anything starting by B<\>) -is disabled and you need to enable it explicitely as in previous example. +When a prefix is explicitly set, the default value (anything starting by B<\>) +is disabled and you need to enable it explicitly as in previous example. =item B<--lowercase=s>