aria2: fix libressl-2.7
This commit is contained in:
parent
b9385c4d17
commit
93a29c32d0
2 changed files with 17 additions and 1 deletions
16
srcpkgs/aria2/patches/patch-src_libssl_compat_h.patch
Normal file
16
srcpkgs/aria2/patches/patch-src_libssl_compat_h.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
$OpenBSD: patch-src_libssl_compat_h,v 1.1 2018/02/18 11:12:22 sthen Exp $
|
||||
|
||||
Index: src/libssl_compat.h
|
||||
--- src/libssl_compat.h.orig
|
||||
+++ src/libssl_compat.h
|
||||
@@ -43,7 +43,9 @@
|
||||
#define LIBRESSL_IN_USE 0
|
||||
#endif // !defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
+/* XXX really OPENSSL_110_API... */
|
||||
#define OPENSSL_101_API \
|
||||
- (!LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x1010000fL)
|
||||
+ OPENSSL_VERSION_NUMBER >= 0x1010000fL || \
|
||||
+ (LIBRESSL_IN_USE && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
||||
|
||||
#endif // LIBSSL_COMPAT_H
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'aria2'
|
||||
pkgname=aria2
|
||||
version=1.33.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-openssl --with-libexpat --without-gnutls
|
||||
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
|
||||
|
|
Loading…
Reference in a new issue