tar: add fix for android 10
This commit is contained in:
parent
c300800d55
commit
fcf8ced972
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/tar/
|
||||
TERMUX_PKG_DESCRIPTION="GNU tar for manipulating tar archives"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=1.32
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_REVISION=5
|
||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/tar/tar-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=d0d3ae07f103323be809bc3eac0dcc386d52c5262499fe05511ac4788af1fdd8
|
||||
TERMUX_PKG_DEPENDS="libandroid-glob, libiconv"
|
||||
|
12
packages/tar/gnu-vasnprintf.c.patch
Normal file
12
packages/tar/gnu-vasnprintf.c.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr tar-1.32/gnu/vasnprintf.c tar-1.32.mod/gnu/vasnprintf.c
|
||||
--- tar-1.32/gnu/vasnprintf.c 2019-01-02 20:16:02.000000000 +0200
|
||||
+++ tar-1.32.mod/gnu/vasnprintf.c 2019-11-29 15:26:53.996809645 +0200
|
||||
@@ -4874,7 +4874,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