termux-packages/packages/busybox/include-platform.h.patch64

15 lines
460 B
Plaintext

fdprintf() does not exist in 64-bit bionic.
diff -u -r ../busybox-1.24.1/include/platform.h ./include/platform.h
--- ../busybox-1.24.1/include/platform.h 2015-07-12 22:18:47.000000000 -0400
+++ ./include/platform.h 2015-11-26 16:14:37.061610995 -0500
@@ -480,7 +480,7 @@
#endif
#if defined(ANDROID) || defined(__ANDROID__)
-# if __ANDROID_API__ < 8
+# if __ANDROID_API__ < 8 || defined(__LP64__)
# undef HAVE_DPRINTF
# else
# define dprintf fdprintf