mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 18:33:17 +00:00
firefox: fix SIGBUS on Arm
This commit is contained in:
@@ -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):
|
||||
|
||||
17
x11-packages/firefox/fix-sigbus.patch
Normal file
17
x11-packages/firefox/fix-sigbus.patch
Normal file
@@ -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 <string.h>
|
||||
static inline uint64 UNALIGNED_LOAD64(const char *p) {
|
||||
uint64 val;
|
||||
Reference in New Issue
Block a user