liblzo: Disable unaligned access for arm (#7603)
This commit is contained in:
parent
765894d740
commit
afa51dc931
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Portable lossless data compression library"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.10
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/lzo-$TERMUX_PKG_VERSION.tar.xz
|
||||
TERMUX_PKG_SHA256=37ed4369e45944c53306b0d6a36b66f03e5b6aede8849c9b6388f4b62b20b443
|
||||
TERMUX_PKG_BREAKS="liblzo-dev"
|
||||
|
12
packages/liblzo/include-lzo-lzodefs.h.patch
Normal file
12
packages/liblzo/include-lzo-lzodefs.h.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/include/lzo/lzodefs.h
|
||||
+++ b/include/lzo/lzodefs.h
|
||||
@@ -2604,7 +2604,8 @@
|
||||
# define LZO_OPT_UNALIGNED64 1
|
||||
# endif
|
||||
#elif (LZO_ARCH_ARM)
|
||||
-# if defined(__ARM_FEATURE_UNALIGNED)
|
||||
+# if defined(__ANDROID__)
|
||||
+# elif defined(__ARM_FEATURE_UNALIGNED)
|
||||
# if ((__ARM_FEATURE_UNALIGNED)+0)
|
||||
# ifndef LZO_OPT_UNALIGNED16
|
||||
# define LZO_OPT_UNALIGNED16 1
|
Loading…
Reference in New Issue
Block a user