From 3086ef262eb572a254697a18f343a601ce78a3bd Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 26 Jan 2018 11:32:32 +0000 Subject: main/hylafax: default to iso-8859-1 charset for better compatibility Fix install of other languages into subpkg --- main/hylafax/hylafax-charset.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 main/hylafax/hylafax-charset.patch (limited to 'main/hylafax/hylafax-charset.patch') diff --git a/main/hylafax/hylafax-charset.patch b/main/hylafax/hylafax-charset.patch new file mode 100644 index 0000000000..e9d6a93a3c --- /dev/null +++ b/main/hylafax/hylafax-charset.patch @@ -0,0 +1,15 @@ +diff -ru hylafax-6.0.6.orig/faxmail/faxmail.c++ hylafax-6.0.6/faxmail/faxmail.c++ +--- hylafax-6.0.6.orig/faxmail/faxmail.c++ 2012-06-06 03:58:38.000000000 +0300 ++++ hylafax-6.0.6/faxmail/faxmail.c++ 2018-01-09 09:11:28.918140061 +0200 +@@ -475,8 +475,8 @@ + if (mime.parse(msg, emsg)) { + if (verbose) + mime.trace(stderr); +- // XXX anything but us-ascii is treated as ISO-8859-1 +- setISO8859(mime.getCharset() != CS_USASCII); ++ // XXX treat everything as ISO-8859-1 ++ setISO8859(true); + + /* + * Check first for any external script/command to + -- cgit v1.2.3