On Sun, Mar 16, 2025 at 02:10:37PM +0100, Mattia Rizzolo wrote:
> 
> I tried applying your patch against the file man/hunspell.1, however
> it's full of conflicts.  Could you explain on what file that diff is
> based on?
> 
> 
Package: hunspell
Version: 1.7.2+really1.7.2-10+b4

  There is a encoding mismatch in the diff-file in the line with UTF-8 code

Author of Hunspell executable ...

  The diff-file must be converted to ISO-8859-1 with (or with the mailer)
---cut---
#!/bin/sh
set -efu

#local_charmap=$(locale -k charmap | sed -e 's/^charmap=//' -e 's/"//g')
#echo charmap = $local_charmap
local_charmap=ISO-8859-1
iconv -f UTF-8 -t ${local_charmap}//TRANSLIT  ${1:-}

exit
---cut---

  My mailer was not configured to send utf-8.

patch --reverse --dry-run hunspell.1 hunspell.1.diff

  shows

checking file hunspell.1
Hunk #17 FAILED at 372.
1 out of 17 hunks FAILED


[...]

Reply via email to