lftp: fix for "%n not allowed on Android"
This commit is contained in:
parent
7922e61c7e
commit
657ed797b2
@ -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=7
|
||||
TERMUX_PKG_REVISION=8
|
||||
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"
|
||||
|
12
packages/lftp/lib-vasnprintf.c.patch
Normal file
12
packages/lftp/lib-vasnprintf.c.patch
Normal file
@ -0,0 +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
|
||||
@@ -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__)
|
||||
fbp[1] = '%';
|
||||
fbp[2] = 'n';
|
||||
fbp[3] = '\0';
|
Loading…
Reference in New Issue
Block a user