diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
commit | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch) | |
tree | d6790c838cfe9607c996e4913fdf11bad5fdd528 /app-arch/libarchive/files | |
parent | 3f71901f8c228f4de570abed1831ce3ee425343e (diff) |
gentoo resync : 15.09.2018
Diffstat (limited to 'app-arch/libarchive/files')
-rw-r--r-- | app-arch/libarchive/files/libarchive-3.3.3-libressl.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/libarchive/files/libarchive-3.3.3-libressl.patch b/app-arch/libarchive/files/libarchive-3.3.3-libressl.patch new file mode 100644 index 000000000000..4d7c0ec7cf37 --- /dev/null +++ b/app-arch/libarchive/files/libarchive-3.3.3-libressl.patch @@ -0,0 +1,12 @@ +--- a/libarchive/archive_openssl_evp_private.h ++++ b/libarchive/archive_openssl_evp_private.h +@@ -28,7 +28,8 @@ + #include <openssl/evp.h> + #include <openssl/opensslv.h> + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ ++(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + #include <stdlib.h> /* malloc, free */ + #include <string.h> /* memset */ + static inline EVP_MD_CTX *EVP_MD_CTX_new(void) |