From b09a717000cc8f3f1b174a5c252e6ae5609acdec Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 7 Jul 2020 23:00:02 +0200 Subject: [PATCH] tnftp: update to 20200705. --- srcpkgs/tnftp/patches/cross.patch | 20 ++++++++++++++++++++ srcpkgs/tnftp/template | 10 +++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/tnftp/patches/cross.patch diff --git a/srcpkgs/tnftp/patches/cross.patch b/srcpkgs/tnftp/patches/cross.patch new file mode 100644 index 0000000000..fdf2d8830c --- /dev/null +++ b/srcpkgs/tnftp/patches/cross.patch @@ -0,0 +1,20 @@ +--- configure.ac.orig ++++ configure.ac +@@ -403,7 +403,7 @@ + [$accheck_includes])]) + + AC_MSG_CHECKING([for va_copy]) +-AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + $accheck_includes + ]], [[ + va_list ap, ap2; +@@ -415,7 +415,7 @@ + [AC_MSG_RESULT([no])]) + + AC_MSG_CHECKING([for __builtin_va_copy]) +-AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + $accheck_includes + ]], [[ + va_list ap, ap2; diff --git a/srcpkgs/tnftp/template b/srcpkgs/tnftp/template index 5f81d2c712..90ac354163 100644 --- a/srcpkgs/tnftp/template +++ b/srcpkgs/tnftp/template @@ -1,21 +1,25 @@ # Template file for 'tnftp' pkgname=tnftp -version=20151004 -revision=9 +version=20200705 +revision=1 build_style=gnu-configure +hostmakedepends="automake libtool" makedepends="libressl-devel ncurses-devel" short_desc="NetBSD enhanced ftp client" maintainer="Leah Neukirchen " license="BSD" homepage="http://netbsd.gw.com/cgi-bin/man-cgi?ftp" distfiles="ftp://ftp.netbsd.org/pub/NetBSD/misc/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0 +checksum=ba4a92b693d04179664524eef0801c8eed4447941c9855f377f98f119f221c03 alternatives=" ftp:ftp:/usr/bin/${pkgname} ftp:ftp.1:/usr/share/man/man1/${pkgname}.1 " +pre_configure() { + autoconf -f +} post_install() { vlicense COPYING }