160d3aeb06
* update ndk to 17 * bump NDK version in setup-android script * libnl: fix for ndk r17 * libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1) Required to make package build with ndk17. * fix as for arm * ndk17 still uses ld.bfd on aarch64 * use -fno-integrated-as for clang only * glib: remove patch unnecessary after ndk17 * torsocks: remove unneeded patch after ndk17 * subversion: fix build as clang++ now errors out for mismatched flags * libpulseaudio: fix build with ndk17 https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684 * gst-plugins-good: disable video4linux2 ioctl is defined as __overloadable in ndk17 headers which conflicts with v4l2object's member ioctl * libzmq: disable Werror to build with ndk17 * ltrace: hardcode symbol not available in ndk17 * busybox: build with clang for all arches except arm * dropbear: build with clang instead of gcc * gnupg: build with clang instead of gcc * openssl: use clang for all arches except arm * picolisp: build with clang instead of gcc * valgrind: use clang on all arches except aarch64 * Revert "gst-plugins-good: disable video4linux2" This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a. Already applied on base branch. * libllvm: use default arm triple
22 lines
748 B
Diff
22 lines
748 B
Diff
diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h ./usr/include/stdlib.h
|
|
--- /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h 2017-11-09 09:57:12.000000000 +0100
|
|
+++ ./usr/include/stdlib.h 2017-11-15 12:49:51.790799140 +0100
|
|
@@ -35,6 +35,7 @@
|
|
#include <alloca.h>
|
|
#include <malloc.h>
|
|
#include <stddef.h>
|
|
+#include <stdint.h>
|
|
#include <sys/cdefs.h>
|
|
#include <xlocale.h>
|
|
|
|
@@ -205,8 +206,7 @@
|
|
size_t wcstombs(char* __dst, const wchar_t* __src, size_t __n);
|
|
|
|
#if __ANDROID_API__ >= __ANDROID_API_L__
|
|
-size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21);
|
|
-#define MB_CUR_MAX __ctype_get_mb_cur_max()
|
|
+#define MB_CUR_MAX 4
|
|
#else
|
|
/*
|
|
* Pre-L we didn't have any locale support and so we were always the POSIX
|