Update repo

This commit is contained in:
termux-pacman-bot
2024-08-20 13:37:27 +00:00
parent 0bf68c0aae
commit a9d41e91bb
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
--- a/usr/include/time.h
+++ b/usr/include/time.h
@@ -39,6 +39,7 @@
__BEGIN_DECLS
+#if __ANDROID_API__ >= 35
/* If we just use void* in the typedef, the compiler exposes that in error messages. */
struct __timezone_t;
@@ -50,6 +51,7 @@
* to remove the pointer.
*/
typedef struct __timezone_t* timezone_t;
+#endif
/** Divisor to compute seconds from the result of a call to clock(). */
#define CLOCKS_PER_SEC 1000000

View File

@@ -7,7 +7,7 @@ termux_step_setup_toolchain() {
# toolchain setup to ensure that everyone gets an updated
# toolchain
if [ "${TERMUX_NDK_VERSION}" = "27" ]; then
TERMUX_STANDALONE_TOOLCHAIN+="-v0"
TERMUX_STANDALONE_TOOLCHAIN+="-v1"
termux_setup_toolchain_27
elif [ "${TERMUX_NDK_VERSION}" = 23c ]; then
TERMUX_STANDALONE_TOOLCHAIN+="-v8"