diff --git a/srcpkgs/lftp/patches/0001-lftp-ssl-unbreak-libressl-compilation.patch b/srcpkgs/lftp/patches/0001-lftp-ssl-unbreak-libressl-compilation.patch deleted file mode 100644 index c0353b4089..0000000000 --- a/srcpkgs/lftp/patches/0001-lftp-ssl-unbreak-libressl-compilation.patch +++ /dev/null @@ -1,29 +0,0 @@ -From d98d1b76e74948d9c7f966f9c52561a304050afb Mon Sep 17 00:00:00 2001 -From: Anthony Iliopoulos -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 ---- - 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 - diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index 50f18cb4b2..322d64ba11 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -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 "