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

13 lines
699 B
Diff

diff -uNr zile-2.4.15/lib/vasnprintf.c zile-2.4.15.mod/lib/vasnprintf.c
--- zile-2.4.15/lib/vasnprintf.c 2020-10-03 20:49:03.000000000 +0000
+++ zile-2.4.15.mod/lib/vasnprintf.c 2020-11-22 20:55:13.810138494 +0000
@@ -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';