Fredrik Fornwall
03144f7804
ndk_patches/elf.h: Fix gdb build
9 years ago
Fredrik Fornwall
9462fe8257
ndk_patches: Take elf.h from the NDK
9 years ago
Fredrik Fornwall
46de1c2b41
ndk_patches: Remove sha1.h
9 years ago
Fredrik Fornwall
59ff7c032a
ndk_patches: Remove JNIHelp.h
9 years ago
Fredrik Fornwall
7f44723565
Silence compiler warnings for ctermid return value
9 years ago
Fredrik Fornwall
fcc35ab886
ndk_patches: ttyname(_r) works in Android 5.0+
9 years ago
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.
9 years ago
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.
9 years ago
Fredrik Fornwall
2c4c89b3bc
stdio.h: Use arc4random() instead of random()
9 years ago
Fredrik Fornwall
a4b036426c
ndk_patches: Patch stdio.h for a basic tmpfile(3)
9 years ago
Fredrik Fornwall
5e385c6adf
ndk_patches: Patch paths.h, _PATH_TMP used by tmux
9 years ago
Fredrik Fornwall
e802a5e7cc
Patch stdlib.h to have MB_CUR_MAX=4
We always want to use utf-8 so let's try this.
9 years ago
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.
9 years ago
Fredrik Fornwall
e8735a9e0a
ndk_patches: Replace endpwent() with empty stub
9 years ago
Fredrik Fornwall
c30d38226b
Initial stab at NDK r11 support
9 years ago
Fredrik Fornwall
f7690a8bbd
Update libtalloc and proot build files
9 years ago
Fredrik Fornwall
c501b8272d
Add back TERMUX_PREFIX in patch
9 years ago
Fredrik Fornwall
9867ff1aca
Include <string.h> in <stdio.h> for ctermid()
9 years ago
Francisco Demartino
93b884f130
ndk_patches/stdio.h.patch: add bogus ctermid()
9 years ago
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.
9 years ago
Fredrik Fornwall
394bbb6454
pwd.h patch: Add casting
9 years ago
Fredrik Fornwall
4b74af2c3b
busybox: Handle ash as symlink and re-enable wget
9 years ago
Fredrik Fornwall
f0d4e3805a
Patch a WIFCONTINUED definition to <sys/wait.h>
This fixes job control in bash and zsh
9 years ago
Fredrik Fornwall
6d5e9115d6
Minor cleanup of the pwd.h ndk patch
9 years ago
Fredrik Fornwall
341654304c
ndk_patches: Fix pwd.h patch to compile in more cases
9 years ago
Fredrik Fornwall
02b55df699
Use bash as login shell by default
9 years ago
Fredrik Fornwall
49c5b4d558
ndk_patches: Fix for mosh in <sys/select.h>
9 years ago
Fredrik Fornwall
b57fc0bbb3
ndk_patches: Update android_setup_pwd() to avoid allocating memory, and check that ~/.termux/shell points att executable
9 years ago
Fredrik Fornwall
49ca09e5e5
Fix wait3() function and bump build revisions
9 years ago
Fredrik Fornwall
e7fcdfa2bb
Remove broken WIFCONTINUED macro
Bump build revision on affected packages.
9 years ago
Fredrik Fornwall
8f7dda8321
Work against 64-bit builds
9 years ago
Fredrik Fornwall
59f0d218a6
Initial push
10 years ago