Commit Graph

28 Commits

Author SHA1 Message Date
Fredrik Fornwall
7f44723565 Silence compiler warnings for ctermid return value 2016-04-29 02:39:29 +02:00
Fredrik Fornwall
fcc35ab886 ndk_patches: ttyname(_r) works in Android 5.0+ 2016-04-20 15:06:53 -04:00
Fredrik Fornwall
51c63287f7 ndk_patches: <dlfcn.h> now #define:s RTLD_*
The Android NDK headers define the RTLD_* values within an enum,
which causes problems with #ifdef checks. Patch these to instead
use #define which is more traditional and what much code expects.
2016-04-18 00:33:02 -04:00
Fredrik Fornwall
b29ec8d981 stdio.h: Avoid pulling in complete fcntl.h
This pollutes the namespace and breaks building e.g. python, which
defines a tee() function.
2016-04-11 09:15:57 -04:00
Fredrik Fornwall
2c4c89b3bc stdio.h: Use arc4random() instead of random() 2016-04-11 07:22:10 -04:00
Fredrik Fornwall
a4b036426c ndk_patches: Patch stdio.h for a basic tmpfile(3) 2016-04-11 07:11:39 -04:00
Fredrik Fornwall
5e385c6adf ndk_patches: Patch paths.h, _PATH_TMP used by tmux 2016-04-11 06:16:15 -04:00
Fredrik Fornwall
e802a5e7cc Patch stdlib.h to have MB_CUR_MAX=4
We always want to use utf-8 so let's try this.
2016-03-22 16:58:15 -04:00
Fredrik Fornwall
cb9e3a9ac9 Set pw_gecos to "" on 64-bit
The pw_getcos field on struct passwd is defined on 64-bit builds
but is NULL which programs does not handle (at least no openssh
which crashes). Initialize this field to "" to avoid this.
2016-03-12 15:40:05 -05:00
Fredrik Fornwall
e8735a9e0a ndk_patches: Replace endpwent() with empty stub 2016-03-10 15:24:52 -05:00
Fredrik Fornwall
c30d38226b Initial stab at NDK r11 support 2016-03-10 12:01:58 +01:00
Fredrik Fornwall
f7690a8bbd Update libtalloc and proot build files 2016-01-08 20:19:06 -05:00
Fredrik Fornwall
c501b8272d Add back TERMUX_PREFIX in patch 2015-12-24 03:21:22 -05:00
Fredrik Fornwall
9867ff1aca Include <string.h> in <stdio.h> for ctermid() 2015-12-24 03:20:05 -05:00
Francisco Demartino
93b884f130 ndk_patches/stdio.h.patch: add bogus ctermid() 2015-12-24 04:13:53 -03: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
394bbb6454 pwd.h patch: Add casting 2015-08-12 01:29:50 -04:00
Fredrik Fornwall
4b74af2c3b busybox: Handle ash as symlink and re-enable wget 2015-08-11 21:09:58 -04:00
Fredrik Fornwall
f0d4e3805a Patch a WIFCONTINUED definition to <sys/wait.h>
This fixes job control in bash and zsh
2015-08-06 19:25:41 -04:00
Fredrik Fornwall
6d5e9115d6 Minor cleanup of the pwd.h ndk patch 2015-08-03 20:32:49 -04:00
Fredrik Fornwall
341654304c ndk_patches: Fix pwd.h patch to compile in more cases 2015-07-30 21:20:15 -04:00
Fredrik Fornwall
02b55df699 Use bash as login shell by default 2015-07-30 19:47:00 -04:00
Fredrik Fornwall
49c5b4d558 ndk_patches: Fix for mosh in <sys/select.h> 2015-07-25 18:20:06 -04:00
Fredrik Fornwall
b57fc0bbb3 ndk_patches: Update android_setup_pwd() to avoid allocating memory, and check that ~/.termux/shell points att executable 2015-07-15 13:12:28 -04:00
Fredrik Fornwall
49ca09e5e5 Fix wait3() function and bump build revisions 2015-07-11 17:43:48 -04:00
Fredrik Fornwall
e7fcdfa2bb Remove broken WIFCONTINUED macro
Bump build revision on affected packages.
2015-07-11 17:16:59 -04:00
Fredrik Fornwall
8f7dda8321 Work against 64-bit builds 2015-06-25 06:36:03 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00