Commit Graph

28 Commits

Author SHA1 Message Date
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
Fredrik Fornwall ca631167ef coreutils: Remove debug patch (fixes #1121) 2017-07-10 02:09:30 +02:00
Fredrik Fornwall 993268c308 Drop -D_FILE_OFFSET_BITS=64 support for now
32-bit android uses 32-bit off_t by default. When building with
-D_FILE_OFFSET_BITS=64 with unified headers off_t are promoted
to 64-bit, but there are bugs in the toolchain and spotty support
for it in the platform (not all functions are available until
android-24, and the platform zlib is compiled with 32-bit off_t).

Also, unless every library&program is rebuilt with 64-bit off_t,
including user-built ones, we risk a mismatch between programs and
libraries which can cause serious (but sometimes subtle) runtime
failures.

As -D_FILE_OFFSET_BITS=64 is not that important for most users
(with mariadb requiring it as an exception), we drop the support
for now by patching it away in <sys/cdefs.h>.
2017-07-07 03:52:46 +02:00
Fredrik Fornwall fcf596bd19 coreutils: -Werror=implicit-function-declaration 2017-07-07 00:31:19 +02:00
Fredrik Fornwall 966c9588c6 coreutils: Bump revision after unified headers 2017-07-03 01:28:41 +02:00
Fredrik Fornwall 10519583bb coreutils: Avoid installing uptime
Uptime is provided by procps-ng.
2017-07-02 11:37:59 +02:00
Fredrik Fornwall 9da0f4e823 coreutils: Fix deeply nested folder under docker
See:
- https://github.com/moby/moby/issues/13451
- https://bugzilla.yoctoproject.org/show_bug.cgi?id=7338
2017-05-11 11:32:07 +02:00
Fredrik Fornwall 2712833539 coreutils: Update from 8.26 to 8.27 2017-03-10 15:52:47 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall 5e174900b3 coreutils: Fix 32-bit issue with ST_BLKSIZE macro
Fixes https://github.com/termux/termux-app/issues/233
2017-01-09 17:04:46 -05:00
Fredrik Fornwall 7fa69461f0 coreutils: Reference issue in test 2017-01-07 02:02:12 -05:00
Fredrik Fornwall 627fdeb162 ndk_patches: Define _POSIX2_VERSION to 200809
coreutils looks at _POSIX2_VERSION and enables broken obsolete
behaviour if not set.

Fixes https://github.com/termux/termux-app/issues/232.
2017-01-07 01:45:46 -05:00
Fredrik Fornwall fb8471fb27 coreutils: Update from 8.25 to 8.26 2016-11-30 21:34:29 -05:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall aa01a42bf5 coreutils: Add back part of ls patch
Fixes #441.
2016-09-07 10:50:10 -04:00
Fredrik Fornwall ec64262da3 coreutils: Remove strange ls color patch 2016-09-07 06:54:11 -04:00
Fredrik Fornwall 7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall e4ba46a8fe Move $PREFIX/bin/env from coreutils to busybox
The busybox version of env should provide enough functionality, and
having $PREFIX/bin/env available out of the box is valuable.
2016-05-03 00:41:11 +02:00
Fredrik Fornwall 2637995c1e coreutils: Fix sort&tac using /tmp (closes #213) 2016-04-16 02:53:01 -04:00
Fredrik Fornwall d25beefc0e coreutils: Bump build after MB_CUR_MAX change 2016-03-22 17:03:26 -04:00
Fredrik Fornwall b54e054905 coreutils: Remove chroot 2016-03-21 21:32:56 -04:00
Fredrik Fornwall e137a06fbd coreutils: Update from 8.24 to 8.25 2016-01-20 17:49:00 -05:00
Fredrik Fornwall 00afbe13d4 coreutils: Do not install broken df 2015-11-27 16:57:38 -05:00
Fredrik Fornwall 629f805ba1 Patch NDK to define AT_EACCESS to 0
This fixes breakage for gnulib-using packages which otherwise
defines AT_EACCESS, which does not work on Android 6.

Bump build revisions for coreutils and emacs to rebuild them
with this patch.
2015-10-19 17:51:13 -04:00
Fredrik Fornwall 25faa518f9 coreutils: Avoid installing pinky (useless) and realpath(buggy) 2015-09-07 10:49:54 -04:00
Fredrik Fornwall 67f551171f coreutils: Note that endpwent is not supported to avoid runtime warning 2015-07-18 04:48:19 -04:00
Fredrik Fornwall bc82430bf3 Update coreutils from 8.23 to 8.24 2015-07-04 08:44:30 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00