aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hylafaxplus/no-locale.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-03-13 21:57:26 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-13 21:59:18 +0000
commitf8c828c5716d8e9741cb9f2844f213cd0a39484a (patch)
treeaa5fd4c23707fb6d6d18b609bd1e60a4d6c89e54 /testing/hylafaxplus/no-locale.patch
parent0fd2e2566d7d4bcc65eabdc816b1744a9db22e37 (diff)
downloadaports-f8c828c5716d8e9741cb9f2844f213cd0a39484a.tar.gz
aports-f8c828c5716d8e9741cb9f2844f213cd0a39484a.tar.bz2
aports-f8c828c5716d8e9741cb9f2844f213cd0a39484a.tar.xz
testing/hylafaxplus: improve utf8 and locale support, cleanup not used patches
Thanks to Robert Boisvert. Patches applied in his behalf with the following comments by him: - Removed musl-reg-startend.patch since it is no longer used - Adjusted util/dictionary.sh.in not to use the locale command since that doesn’t work in Alpine Linux - Adjusted util/dict/* files to use utf-8 since they do not work correctly with iso-8859-1
Diffstat (limited to 'testing/hylafaxplus/no-locale.patch')
-rw-r--r--testing/hylafaxplus/no-locale.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/hylafaxplus/no-locale.patch b/testing/hylafaxplus/no-locale.patch
new file mode 100644
index 0000000000..167418c5c6
--- /dev/null
+++ b/testing/hylafaxplus/no-locale.patch
@@ -0,0 +1,11 @@
+--- a/util/dictionary.sh.in
++++ b/util/dictionary.sh.in
+@@ -178,8 +178,6 @@
+ iconv -c -f "$CHARSET"
+ fi
+ done
+-# Let "$CHARSET" reflect the current locale's charset:
+-CHARSET="$(locale -- charmap)"
+ if LC_ALL=C expr " $CHARSET" : ' ANSI_X3\.4\>' > /dev/null
+ then
+ CHARSET=US-ASCII