diff --git a/packages/marisa/build.sh b/packages/marisa/build.sh index 4b98c4e0dc..cc29384592 100644 --- a/packages/marisa/build.sh +++ b/packages/marisa/build.sh @@ -3,10 +3,17 @@ TERMUX_PKG_DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge" TERMUX_PKG_LICENSE="BSD 2-Clause, LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=0.2.6 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/s-yata/marisa-trie/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=1063a27c789e75afa2ee6f1716cc6a5486631dcfcb7f4d56d6485d2462e566de TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { + # fix arm build and potentially other archs hidden bugs + # ERROR: lib/libmarisa.so contains undefined symbols: + # 39: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_uidiv + # 40: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_idiv + # 49: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_idivmod + LDFLAGS+=" $($CC -print-libgcc-file-name)" autoreconf -fi }