summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-09-10 11:13:42 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-09-10 11:40:37 +0200
commit69b9261c44146262bd51c7de277e0f3cd98a10f2 (patch)
tree682cb80f657604d1d2e544370acf1424bd10e399 /app-arch/libarchive/files
parentapp-emulation/xen-pvgrub: security cleanup (bug #643350) (diff)
downloadgentoo-69b9261c44146262bd51c7de277e0f3cd98a10f2.tar.gz
gentoo-69b9261c44146262bd51c7de277e0f3cd98a10f2.tar.bz2
gentoo-69b9261c44146262bd51c7de277e0f3cd98a10f2.zip
app-arch/libarchive: Bump to version 3.3.3
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'app-arch/libarchive/files')
-rw-r--r--app-arch/libarchive/files/libarchive-3.3.3-libressl.patch12
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)