termux-packages/packages/recutils/vasnprintf.patch

12 lines
636 B
Diff

--- recutils-1.8/lib/vasnprintf.c 2019-01-03 09:19:30.000000000 +0000
+++ ../recutils-1.8-patched/lib/vasnprintf.c 2020-02-15 18:35:52.025960001 +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';