File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Fix SIGBUS error on Arm
2+
3+ https://github.com/termux/termux-packages/issues/29024
4+ https://bugzilla.mozilla.org/show_bug.cgi?id=1844117
5+
6+ --- a/extensions/spellcheck/hunspell/src/hashmgr.cxx
7+ +++ b/extensions/spellcheck/hunspell/src/hashmgr.cxx
8+ @@ -1396,6 +1396,9 @@
9+ }
10+
11+ void* HashMgr::arena_alloc(int num_bytes) {
12+ + #if defined(__arm__)
13+ + num_bytes = (((num_bytes + 7) >> 3) << 3);
14+ + #endif
15+ static const int MIN_CHUNK_SIZE = 4096;
16+ if (arena.empty() || (current_chunk_size - current_chunk_offset < num_bytes)) {
17+ current_chunk_size = std::max(MIN_CHUNK_SIZE, num_bytes);
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Mozilla Firefox web browser"
33TERMUX_PKG_LICENSE=" MPL-2.0"
44TERMUX_PKG_MAINTAINER=" @termux"
55TERMUX_PKG_VERSION=" 149.0+really148.0.2"
6+ TERMUX_PKG_REVISION=1
67TERMUX_PKG_SRCURL=" https://archive.mozilla.org/pub/firefox/releases/${TERMUX_PKG_VERSION#* really} /source/firefox-${TERMUX_PKG_VERSION#* really} .source.tar.xz"
78TERMUX_PKG_SHA256=a6cb8e4d5e596cd52475bab9b4d399240f10c4211718b9d72ca6b2e9c9244e90
89# ffmpeg and pulseaudio are dependencies through dlopen(3):
You can’t perform that action at this time.
0 commit comments