diff --git a/x11-packages/firefox/build.sh b/x11-packages/firefox/build.sh index e2bb2e9138..54c82456d0 100644 --- a/x11-packages/firefox/build.sh +++ b/x11-packages/firefox/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Mozilla Firefox web browser" TERMUX_PKG_LICENSE="MPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=111.0 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://ftp.mozilla.org/pub/firefox/releases/${TERMUX_PKG_VERSION}/source/firefox-${TERMUX_PKG_VERSION}.source.tar.xz TERMUX_PKG_SHA256=e1006c0872aa7eb30fb5a689413957f1e5fc8d2048b1637bf6f6fafdbd4ea55f # ffmpeg and pulseaudio are dependencies through dlopen(3): diff --git a/x11-packages/firefox/fix-sigbus.patch b/x11-packages/firefox/fix-sigbus.patch new file mode 100644 index 0000000000..5937475b21 --- /dev/null +++ b/x11-packages/firefox/fix-sigbus.patch @@ -0,0 +1,17 @@ +Fix SIGBUS Firefox error on Arm. Also apply to other arches just in case. + +https://github.com/termux/termux-packages/issues/15901 +https://github.com/mozilla/gecko-dev/commit/d7ba2cef0e9b74addedda4bc7f57daf10599a5dc +https://github.com/google/cityhash/blob/master/src/city.cc + +--- a/other-licenses/nsis/Contrib/CityHash/cityhash/city.cpp ++++ b/other-licenses/nsis/Contrib/CityHash/cityhash/city.cpp +@@ -33,7 +33,7 @@ + + using namespace std; + +-#if __sparc__ ++#if __sparc__ || __TERMUX__ + #include + static inline uint64 UNALIGNED_LOAD64(const char *p) { + uint64 val;