ports/archivers/unarr/patches/patch-lzmasdk_CpuArch_c

18 lines
385 B
Text
Raw Normal View History

2023-09-28 21:55:12 +00:00
disable asm checks on aarch64; unbreak the build: it assumes sys/auxv.h
(for getauxval) and asm/hwcap.h (for AT_HWCAP.)
Index: lzmasdk/CpuArch.c
--- lzmasdk/CpuArch.c.orig
+++ lzmasdk/CpuArch.c
@@ -760,10 +760,6 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYP
#else // __APPLE__
-#include <sys/auxv.h>
-
-#define USE_HWCAP
-
#ifdef USE_HWCAP
#include <asm/hwcap.h>