From 6c79834fb1bba9402b9aab036df74eb5408f5d47 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 4 Jan 2016 06:31:29 -0500 Subject: [PATCH] w3m: Fix 64-bit build --- packages/w3m/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/w3m/build.sh b/packages/w3m/build.sh index 2fae5c4b3..762fb9279 100644 --- a/packages/w3m/build.sh +++ b/packages/w3m/build.sh @@ -4,4 +4,6 @@ TERMUX_PKG_VERSION=0.5.3 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/w3m/w3m/w3m-$TERMUX_PKG_VERSION/w3m-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libgc, ncurses, openssl" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes" +# ac_cv_func_bcopy=yes to avoid w3m defining it's own bcopy function, which +# breaks 64-bit builds where NDK headers define bcopy as a mactro: +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes ac_cv_func_bcopy=yes"