From aa415bc84d99db8e044def5a6cf5b5d4454ff4a5 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Sat, 15 Oct 2022 15:44:31 +0000 Subject: [PATCH] fix(main/marisa): rebuild for arm (#12392) --- packages/marisa/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 }