summaryrefslogtreecommitdiff
path: root/user/nextcloud/iconv-ascii-translit-not-supported.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
committerMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
commit020a30d93a101127fdd2f494026fc80c632ae728 (patch)
tree70afe4522257b7b7ef78329f2919f7b364e18d65 /user/nextcloud/iconv-ascii-translit-not-supported.patch
parent3a06f7cc492260836cd9910e2509aec9f0ba3d54 (diff)
downloadpackages-020a30d93a101127fdd2f494026fc80c632ae728.tar.gz
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.bz2
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.xz
packages-020a30d93a101127fdd2f494026fc80c632ae728.zip
user/nextcloud: new package
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;