termux-packages/ndk-patches
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
..
arpa-ftp.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
arpa-tftp.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
bits-struct_file.h.patch Fix incorrect struct __sFILE 2017-07-03 01:27:32 +02:00
elf.h Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
fcntl.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
grp.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
ifaddrs.h Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
langinfo.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
limits.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
linux-fcntl.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
paths.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
pty.h.patch Remove pty.h from libutil-dev 2017-07-02 11:56:40 +02:00
pwd.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
route.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
stdio.h.patch ndk-patches: Use @TERMUX_PREFIX@ 2017-07-07 03:29:49 +02:00
stdlib.h.patch ndk-patches: Patch to 'define MB_CUR_MAX 4' 2017-07-16 12:36:06 +02:00
string.h.patch Avoid ndk patch used only by elfutils 2017-07-09 23:35:21 +02:00
sys-cdefs.h.patch Make it possible to opt in to _FILE_OFFSET_BITS=64 2017-07-10 00:02:22 +02:00
sys-select.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
sys-ttydefault.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
sys-user.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
sys-wait.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
syscall.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
sysexits.h Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
syslog.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
termios.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
utmp.h.patch ndk-patches: Fix malformed <utmp.h> patch 2017-07-10 09:52:50 +02:00