diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-03 16:01:32 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-03-04 19:25:20 +0000 |
commit | 5e65715a78184da9176d90c6290866c56d5f17b3 (patch) | |
tree | 08354c6ba31497448962d2be6a0fbe7b2a782213 /main/libarchive/libressl.patch | |
parent | 338c66c3503e3f6bc9558f948baca0f6e2c83052 (diff) | |
download | aports-5e65715a78184da9176d90c6290866c56d5f17b3.tar.bz2 aports-5e65715a78184da9176d90c6290866c56d5f17b3.tar.xz |
main/libarchive: upgrade to 3.3.1
* Modernize abuild
* Remove merged patch
* Add patch for libressl
* Add support for lz4
Diffstat (limited to 'main/libarchive/libressl.patch')
-rw-r--r-- | main/libarchive/libressl.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/libarchive/libressl.patch b/main/libarchive/libressl.patch new file mode 100644 index 0000000000..05b7c1b4eb --- /dev/null +++ b/main/libarchive/libressl.patch @@ -0,0 +1,22 @@ +--- a/libarchive/archive_openssl_hmac_private.h ++++ b/libarchive/archive_openssl_hmac_private.h +@@ -28,7 +28,7 @@ + #include <openssl/hmac.h> + #include <openssl/opensslv.h> + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + #include <stdlib.h> /* malloc, free */ + #include <string.h> /* memset */ + static inline HMAC_CTX *HMAC_CTX_new(void) +--- a/libarchive/archive_openssl_evp_private.h ++++ b/libarchive/archive_openssl_evp_private.h +@@ -28,7 +28,7 @@ + #include <openssl/evp.h> + #include <openssl/opensslv.h> + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + #include <stdlib.h> /* malloc, free */ + #include <string.h> /* memset */ + static inline EVP_MD_CTX *EVP_MD_CTX_new(void) |