summaryrefslogtreecommitdiff
path: root/user/nextcloud/iconv-ascii-translit-not-supported.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-11-28 22:19:36 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-11-28 22:19:36 +0000
commit9fc671264764cd0765830572daa11574c92fdba8 (patch)
tree580da54b1f122edd844dd8bb9a3e6c1ab0c05156 /user/nextcloud/iconv-ascii-translit-not-supported.patch
parentb0ec6a7873c7835965e2bb923e0d87ea345352d4 (diff)
parent020a30d93a101127fdd2f494026fc80c632ae728 (diff)
downloadpackages-9fc671264764cd0765830572daa11574c92fdba8.tar.gz
packages-9fc671264764cd0765830572daa11574c92fdba8.tar.bz2
packages-9fc671264764cd0765830572daa11574c92fdba8.tar.xz
packages-9fc671264764cd0765830572daa11574c92fdba8.zip
Merge branch 'nextcloud' into 'master'
user/nextcloud: new package See merge request !110
Diffstat (limited to 'user/nextcloud/iconv-ascii-translit-not-supported.patch')
-rw-r--r--user/nextcloud/iconv-ascii-translit-not-supported.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/nextcloud/iconv-ascii-translit-not-supported.patch b/user/nextcloud/iconv-ascii-translit-not-supported.patch
new file mode 100644
index 000000000..bb13a9514
--- /dev/null
+++ b/user/nextcloud/iconv-ascii-translit-not-supported.patch
@@ -0,0 +1,13 @@
+iconv on Alpine does not support conversion to ASCII//TRANSLIT
+
+--- a/apps/user_ldap/lib/Access.php
++++ b/apps/user_ldap/lib/Access.php
+@@ -1318,7 +1318,7 @@
+ }
+
+ // Transliteration to ASCII
+- $transliterated = @iconv('UTF-8', 'ASCII//TRANSLIT', $name);
++ $transliterated = @iconv('UTF-8', 'ASCII', $name);
+ if($transliterated !== false) {
+ // depending on system config iconv can work or not
+ $name = $transliterated;