mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 13:46:16 +00:00
14 lines
369 B
Diff
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;
|