0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/thunderbird/0019-fix-sigbus.patch
2024-01-22 15:23:39 +08:00

14 lines
369 B
Diff

Fix SIGBUS error on Arm. Also apply to other arches just in case.
--- 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;