From e5bd6cc56fea7c01f8ae14e3223aff55ecb2f655 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 15 Feb 2020 11:09:29 +0100 Subject: [PATCH] emacs: emacs_cv_func__setjmp=no, emacs_cv_func_sigsetjmp=no on i686 --- packages/emacs/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index 4b87605a0..fb236194c 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/emacs/ TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_VERSION=26.3 -TERMUX_PKG_REVISION=5 +TERMUX_PKG_REVISION=6 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=4d90e6751ad8967822c6e092db07466b9d383ef1653feb2f95c93e7de66d3485 TERMUX_PKG_DEPENDS="ncurses, gnutls, libxml2" @@ -34,8 +34,8 @@ 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" -if [ "$TERMUX_ARCH" == "arm" ]; then - # setjmp does not work properly on arm: +if [ "$TERMUX_ARCH" == "arm" ] || [ "$TERMUX_ARCH" == "i686" ]; then + # setjmp does not work properly on 32bit android: # https://github.com/termux/termux-packages/issues/2599 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_func__setjmp=no" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_func_sigsetjmp=no"