termux-packages/packages/openssl/crypto-armcap.c.patch

17 lines
540 B
Diff

diff -u -r ../openssl-1.1.1c/crypto/armcap.c ./crypto/armcap.c
--- ../openssl-1.1.1c/crypto/armcap.c 2019-05-28 13:12:21.000000000 +0000
+++ ./crypto/armcap.c 2019-06-23 19:53:23.465656000 +0000
@@ -65,12 +65,8 @@
void OPENSSL_cpuid_setup(void) __attribute__ ((constructor));
# endif
-# if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
-# if __GLIBC_PREREQ(2, 16)
# include <sys/auxv.h>
# define OSSL_IMPLEMENT_GETAUXVAL
-# endif
-# endif
# if defined(__FreeBSD__)
# include <sys/param.h>
# if __FreeBSD_version >= 1200000