lftp: rebuild against OpenSSL
This commit is contained in:
parent
ec2a0c25ee
commit
80956f6459
2 changed files with 2 additions and 31 deletions
|
@ -1,29 +0,0 @@
|
|||
From d98d1b76e74948d9c7f966f9c52561a304050afb Mon Sep 17 00:00:00 2001
|
||||
From: Anthony Iliopoulos <ailiop@altatus.com>
|
||||
Date: Sun, 13 Sep 2020 12:27:12 +0200
|
||||
Subject: [PATCH] lftp/ssl: unbreak libressl compilation
|
||||
|
||||
Commit 537f3789 ("lftp: fix compilation without deprecated OpenSSL
|
||||
APIs") broke libressl compilation, fix it.
|
||||
|
||||
Signed-off-by: Anthony Iliopoulos <ailiop@altatus.com>
|
||||
---
|
||||
src/lftp_ssl.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git src/lftp_ssl.cc src/lftp_ssl.cc
|
||||
index 14a3b9d4..83cbda1b 100644
|
||||
--- src/lftp_ssl.cc
|
||||
+++ src/lftp_ssl.cc
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "misc.h"
|
||||
#include "network.h"
|
||||
#include "buffer.h"
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject
|
||||
#endif
|
||||
extern "C" {
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'lftp'
|
||||
pkgname=lftp
|
||||
version=4.9.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-modules --disable-rpath --without-included-regex
|
||||
--with-openssl i_cv_posix_fallocate_works=yes --with-zlib=${XBPS_CROSS_BASE}/usr
|
||||
--with-readline=${XBPS_CROSS_BASE}/usr gl_cv_func_signbit=yes"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
|
||||
makedepends="zlib-devel ncurses-devel readline-devel openssl-devel
|
||||
expat-devel libidn-devel gettext-devel"
|
||||
short_desc="Sophisticated FTP/HTTP client"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
|
Loading…
Reference in a new issue