termux-packages/packages/coreutils
Fredrik Fornwall a328a50407 ndk-patches: Patch to 'define MB_CUR_MAX 4'
The platform headers has the following macro:

  #define MB_CUR_MAX __ctype_get_mb_cur_max()

where __ctype_get_mb_cur_max() tries to handle UTF-8 encodings.

However, even in Android 7.0 setlocale(LC_ALL, ""), which many
programs do at startup, doesn't work in that it sets the locale
as non-utf8:

  https://android.googlesource.com/platform/bionic/+/nougat-release/libc/bionic/locale.cpp#139

So we just always consider us being in an utf-8 locale.

Also rebuild coreutils to fix #1136.
2017-07-16 12:36:06 +02:00
..
tests
Makefile.in.patch
build.sh ndk-patches: Patch to 'define MB_CUR_MAX 4' 2017-07-16 12:36:06 +02:00
configure.patch
dd_sys_mtios_h.patch
lib-stat-size.h.patch
mktemp.patch
nohup.c.patch
pinky_pw_gecos.patch
pwd.c.patch
shred.c.patch
src-hostid.c.patch coreutils: -Werror=implicit-function-declaration 2017-07-07 00:31:19 +02:00
src-ls.c.patch
src-sort.c.patch coreutils: Bump revision after unified headers 2017-07-03 01:28:41 +02:00
src-tac.c.patch coreutils: Bump revision after unified headers 2017-07-03 01:28:41 +02:00