From d6b1cea94334d061cb911d2409c130f8052847e7 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 27 Oct 2019 20:10:31 +0200 Subject: [PATCH] lftp: fix lib-vasnprintf.c.patch --- packages/lftp/build.sh | 2 +- packages/lftp/lib-vasnprintf.c.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/lftp/build.sh b/packages/lftp/build.sh index 2af6ed49c..6a541c45d 100644 --- a/packages/lftp/build.sh +++ b/packages/lftp/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://lftp.tech/ TERMUX_PKG_DESCRIPTION="FTP/HTTP client and file transfer program" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_VERSION=4.8.4 -TERMUX_PKG_REVISION=8 +TERMUX_PKG_REVISION=9 TERMUX_PKG_SRCURL=https://lftp.tech/ftp/lftp-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=4ebc271e9e5cea84a683375a0f7e91086e5dac90c5d51bb3f169f75386107a62 TERMUX_PKG_DEPENDS="libandroid-support, libc++, libexpat, libiconv, openssl, readline, libidn2, zlib" diff --git a/packages/lftp/lib-vasnprintf.c.patch b/packages/lftp/lib-vasnprintf.c.patch index 5e840a2cd..1504e9ba2 100644 --- a/packages/lftp/lib-vasnprintf.c.patch +++ b/packages/lftp/lib-vasnprintf.c.patch @@ -1,12 +1,12 @@ diff -uNr lftp-4.8.4/lib/vasnprintf.c lftp-4.8.4.mod/lib/vasnprintf.c --- lftp-4.8.4/lib/vasnprintf.c 2018-07-31 14:04:57.000000000 +0300 -+++ lftp-4.8.4.mod/lib/vasnprintf.c 2019-10-27 14:08:10.514891328 +0200 ++++ lftp-4.8.4.mod/lib/vasnprintf.c 2019-10-27 20:05:33.109405874 +0200 @@ -4872,7 +4872,7 @@ # if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ && !defined __UCLIBC__) \ || (defined __APPLE__ && defined __MACH__) \ - || (defined _WIN32 && ! defined __CYGWIN__)) -+ || (defined _WIN32 && ! defined __CYGWIN__)) || !defined(__ANDROID__) ++ || (defined _WIN32 && ! defined __CYGWIN__) || defined(__ANDROID__)) fbp[1] = '%'; fbp[2] = 'n'; fbp[3] = '\0';