aboutsummaryrefslogtreecommitdiffstats
path: root/main/hylafax/hylafax-charset.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-01-26 11:32:32 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-26 11:33:03 +0000
commit3086ef262eb572a254697a18f343a601ce78a3bd (patch)
tree532e7ff29a3d4002badad6548459e06849cd59c4 /main/hylafax/hylafax-charset.patch
parent707f826f194dd3bf8e139c63e8a288ef0f19a95d (diff)
downloadaports-3086ef262eb572a254697a18f343a601ce78a3bd.tar.bz2
aports-3086ef262eb572a254697a18f343a601ce78a3bd.tar.xz
main/hylafax: default to iso-8859-1 charset for better compatibility
Fix install of other languages into subpkg
Diffstat (limited to 'main/hylafax/hylafax-charset.patch')
-rw-r--r--main/hylafax/hylafax-charset.patch15
1 files changed, 15 insertions, 0 deletions
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
+