diff --git a/x11-packages/emacs-x/build.sh b/x11-packages/emacs-x/build.sh index 55324b3ab..d00c82a2a 100644 --- a/x11-packages/emacs-x/build.sh +++ b/x11-packages/emacs-x/build.sh @@ -47,10 +47,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_elf_elf_begin=no" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" gl_cv_func_dup2_works=no" # disable setrlimit function to make termux-am work from within emacs TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_setrlimit=no" -# for some reason faccessat calls fails with "invalid argument" -# starting from ndk-r23 -TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_faccessat=no" - TERMUX_PKG_HOSTBUILD=true # Remove some irrelevant files: diff --git a/x11-packages/emacs-x/replace_faccessat.patch b/x11-packages/emacs-x/replace_faccessat.patch deleted file mode 100644 index def295f3d..000000000 --- a/x11-packages/emacs-x/replace_faccessat.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/m4/faccessat.m4 b/m4/faccessat.m4 -index 9d6b3635117..ff1f803d405 100644 ---- a/m4/faccessat.m4 -+++ b/m4/faccessat.m4 -@@ -19,6 +19,7 @@ AC_DEFUN([gl_FUNC_FACCESSAT], - AC_CHECK_FUNCS_ONCE([faccessat]) - if test $ac_cv_func_faccessat = no; then - HAVE_FACCESSAT=0 -+ REPLACE_FACCESSAT=1 - else - case $gl_cv_func_lstat_dereferences_slashed_symlink in - *yes) ;;