libarchive: update to 3.3.2.

This commit is contained in:
Juan RP 2017-07-11 10:13:46 +02:00
parent e9b5e77de2
commit abc4a883c6
2 changed files with 3 additions and 25 deletions

View file

@ -1,22 +0,0 @@
--- libarchive/archive_openssl_hmac_private.h.orig 2017-03-03 10:31:40.000000000 +0000
+++ libarchive/archive_openssl_hmac_private.h 2017-03-03 10:31:54.288574182 +0000
@@ -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)
--- libarchive/archive_openssl_evp_private.h.orig 2017-01-29 05:06:27.000000000 +0000
+++ libarchive/archive_openssl_evp_private.h 2017-03-03 10:34:47.238583104 +0000
@@ -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)

View file

@ -1,7 +1,7 @@
# Template file for 'libarchive'
pkgname=libarchive
version=3.3.1
revision=2
version=3.3.2
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
@ -16,7 +16,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libarchive.org/"
license="BSD"
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
checksum=29ca5bd1624ca5a007aa57e16080262ab4379dbf8797f5c52f7ea74a3b0424e7
checksum=ed2dbd6954792b2c054ccf8ec4b330a54b85904a80cef477a1c74643ddafa0ce
# Package build options
build_options="acl expat lzo lz4 ssl"