termux-packages/ndk-patches
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
..
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 Patch stdlib.h to include stdint.h 2017-07-01 01:54:44 +02:00
string.h.patch Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
sys-cdefs.h.patch Drop -D_FILE_OFFSET_BITS=64 support for now 2017-07-07 03:52:46 +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 Remove pty.h from libutil-dev 2017-07-02 11:56:40 +02:00