Update to lftp-4.7.6 and add explicit gettext dep. From rsadowski (maintainer).

This commit is contained in:
sthen 2017-02-16 10:56:00 +00:00
parent 3c13d59df9
commit 37791eb7ef
5 changed files with 14 additions and 30 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.112 2017/02/15 15:27:48 sthen Exp $
# $OpenBSD: Makefile,v 1.113 2017/02/16 10:56:00 sthen Exp $
COMMENT= shell-like command line ftp and sftp client
DISTNAME= lftp-4.7.5
DISTNAME= lftp-4.7.6
CATEGORIES= net
HOMEPAGE= https://lftp.tech/
@ -19,7 +19,8 @@ USE_GROFF= Yes
# lftp needs add_history_time()
LIB_DEPENDS= devel/libidn \
devel/readline>=6.1p2 \
devel/gettext \
devel/readline>=6.1p2
MASTER_SITES= http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
http://lftp.yar.ru/ftp/ \

View File

@ -1,2 +1,2 @@
SHA256 (lftp-4.7.5.tar.gz) = TvwATyIM4EkML5YSSDwHQca0LszLZp/CMamT582YKp0=
SIZE (lftp-4.7.5.tar.gz) = 2753728
SHA256 (lftp-4.7.6.tar.gz) = LIdzmT7Ab1nXpXNAkOZOw38Qb5iyULjEdsVcwLNap10=
SIZE (lftp-4.7.6.tar.gz) = 2760657

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-configure,v 1.16 2017/02/15 15:27:48 sthen Exp $
$OpenBSD: patch-configure,v 1.17 2017/02/16 10:56:00 sthen Exp $
Use GNU readline as our base readline lacks add_history_time().
--- configure.orig Sun Jan 1 18:26:12 2017
+++ configure Mon Jan 16 14:58:09 2017
@@ -49079,7 +49079,7 @@ fi
--- configure.orig Wed Feb 15 07:48:02 2017
+++ configure Wed Feb 15 21:53:13 2017
@@ -49232,7 +49232,7 @@ fi
readline_include_dir="$readline_include_dir/readline"
fi
readline_ld_flags="-L$readline_prefix/lib"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.13 2016/11/25 23:05:11 jca Exp $
--- src/Makefile.in.orig Wed Nov 16 14:11:29 2016
+++ src/Makefile.in Thu Nov 17 18:51:19 2016
@@ -237,7 +237,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
$OpenBSD: patch-src_Makefile_in,v 1.14 2017/02/16 10:56:00 sthen Exp $
--- src/Makefile.in.orig Wed Feb 15 07:48:01 2017
+++ src/Makefile.in Wed Feb 15 21:53:13 2017
@@ -239,7 +239,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
"$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(pkgdatadir)"
LTLIBRARIES = $(lib_LTLIBRARIES) $(pkgverlib_LTLIBRARIES)

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-src_Resolver_cc,v 1.14 2017/02/15 15:27:48 sthen Exp $
"Cast address to IN6_IS_ADDR_LINKLOCAL."
backport from github 259d642e1fea2ddf38763d49e8e7701f0a947d4c
--- src/Resolver.cc.orig Mon Jan 16 21:44:52 2017
+++ src/Resolver.cc Mon Jan 16 21:45:30 2017
@@ -318,7 +318,7 @@ void Resolver::AddAddress(int family,const char *addre
case AF_INET6:
if(sizeof(add.in6.sin6_addr) != len)
return;
- if(IN6_IS_ADDR_LINKLOCAL(address) && scope==0) {
+ if(IN6_IS_ADDR_LINKLOCAL((const struct in6_addr*)address) && scope==0) {
error=_("Link-local IPv6 address should have a scope");
return;
}