diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-03-30 06:45:06 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-03-30 06:45:06 +0000 |
commit | 05f1e6cb26860fab986910e372df549ef4c51e49 (patch) | |
tree | 8551dffb3b43485589ab6574046889c10569af21 /system/openssl/ppc-auxv.patch | |
parent | d5a2d4b0847392305e7de2bca65d30987bd0ca7e (diff) | |
download | packages-05f1e6cb26860fab986910e372df549ef4c51e49.tar.gz packages-05f1e6cb26860fab986910e372df549ef4c51e49.tar.bz2 packages-05f1e6cb26860fab986910e372df549ef4c51e49.tar.xz packages-05f1e6cb26860fab986910e372df549ef4c51e49.zip |
system/openssl: Bump to 1.1.1e, fix auxv on PowerPC platforms
Diffstat (limited to 'system/openssl/ppc-auxv.patch')
-rw-r--r-- | system/openssl/ppc-auxv.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/openssl/ppc-auxv.patch b/system/openssl/ppc-auxv.patch new file mode 100644 index 000000000..e19d8df1f --- /dev/null +++ b/system/openssl/ppc-auxv.patch @@ -0,0 +1,17 @@ +--- 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 @@ + return 0; + } + +-#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) +-# if __GLIBC_PREREQ(2, 16) +-# include <sys/auxv.h> +-# define OSSL_IMPLEMENT_GETAUXVAL +-# endif ++#if defined(__linux__) ++# include <sys/auxv.h> ++# define OSSL_IMPLEMENT_GETAUXVAL + #endif + + /* I wish <sys/auxv.h> was universally available */ |