Lucy Phipps 2021-11-29 07:58:58 +00:00
parent 15f9d29901
commit 369d15f4ef
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
2 changed files with 12 additions and 1 deletions

11
ndk-patches/linux-fcntl.h Normal file
View File

@ -0,0 +1,11 @@
--- ./usr/include/fcntl.h
+++ ./usr/include/fcntl.h
@@ -54,7 +54,7 @@
#define DN_MULTISHOT 0x80000000
#define AT_FDCWD - 100
#define AT_SYMLINK_NOFOLLOW 0x100
-#define AT_EACCESS 0x200
+#define AT_EACCESS 0
#define AT_REMOVEDIR 0x200
#define AT_SYMLINK_FOLLOW 0x400
#define AT_NO_AUTOMOUNT 0x800

View File

@ -2,7 +2,7 @@ termux_step_start_build() {
TERMUX_STANDALONE_TOOLCHAIN="$TERMUX_COMMON_CACHEDIR/android-r${TERMUX_NDK_VERSION}-api-${TERMUX_PKG_API_LEVEL}"
# Bump the below version if a change is made in toolchain setup to ensure
# that everyone gets an updated toolchain:
TERMUX_STANDALONE_TOOLCHAIN+="-v2"
TERMUX_STANDALONE_TOOLCHAIN+="-v3"
# shellcheck source=/dev/null
source "$TERMUX_PKG_BUILDER_SCRIPT"