termux-packages/packages/gzip/lib-vasnprintf.c.patch

14 lines
710 B
Diff
Raw Normal View History

diff -u -r ../gzip-1.10/lib/vasnprintf.c ./lib/vasnprintf.c
--- ../gzip-1.10/lib/vasnprintf.c 2018-12-21 23:56:16.000000000 -0500
+++ ./lib/vasnprintf.c 2020-04-05 18:21:34.305189418 -0400
@@ -4874,7 +4874,8 @@
# 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';