diff options
author | Zach van Rijn <me@zv.io> | 2022-01-04 21:26:40 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-01 17:05:39 -0500 |
commit | de6603be096a6e0696787ec191ca03be689eefe5 (patch) | |
tree | 00e8e316f552c4d8cc6782c1e259553f56779524 /system/openssl/ppc-auxv.patch | |
parent | e6a2417dffed73c09930aebb6c13dc17a14b02fe (diff) | |
download | packages-de6603be096a6e0696787ec191ca03be689eefe5.tar.gz packages-de6603be096a6e0696787ec191ca03be689eefe5.tar.bz2 packages-de6603be096a6e0696787ec191ca03be689eefe5.tar.xz packages-de6603be096a6e0696787ec191ca03be689eefe5.zip |
system/openssl: bump { 1.1.1g --> 1.1.1m }. rework patches. fixes #393.
Diffstat (limited to 'system/openssl/ppc-auxv.patch')
-rw-r--r-- | system/openssl/ppc-auxv.patch | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/system/openssl/ppc-auxv.patch b/system/openssl/ppc-auxv.patch index e19d8df1f..a22ef83c2 100644 --- a/system/openssl/ppc-auxv.patch +++ b/system/openssl/ppc-auxv.patch @@ -1,6 +1,6 @@ ---- openssl-1.1.1e/crypto/ppccap.c.old 2020-03-17 14:31:17.000000000 +0000 -+++ openssl-1.1.1e/crypto/ppccap.c 2020-03-30 06:32:25.943988524 +0000 -@@ -207,11 +207,9 @@ +--- a/crypto/ppccap.c ++++ b/crypto/ppccap.c +@@ -207,17 +207,9 @@ return 0; } @@ -8,10 +8,16 @@ -# if __GLIBC_PREREQ(2, 16) -# include <sys/auxv.h> -# define OSSL_IMPLEMENT_GETAUXVAL +-# elif defined(__ANDROID_API__) +-/* see https://developer.android.google.cn/ndk/guides/cpu-features */ +-# if __ANDROID_API__ >= 18 +-# include <sys/auxv.h> +-# define OSSL_IMPLEMENT_GETAUXVAL +-# endif -# endif +#if defined(__linux__) +# include <sys/auxv.h> +# define OSSL_IMPLEMENT_GETAUXVAL #endif - /* I wish <sys/auxv.h> was universally available */ + #if defined(__FreeBSD__) |