termux-packages/packages/tar/gnu-stdio-impl.h.patch

13 lines
607 B
Diff

diff -u -r ../tar-1.31/gnu/stdio-impl.h ./gnu/stdio-impl.h
--- ../tar-1.31/gnu/stdio-impl.h 2019-01-02 18:16:01.000000000 +0000
+++ ./gnu/stdio-impl.h 2019-01-03 00:26:16.683764235 +0000
@@ -60,7 +60,7 @@
# define _flags pub._flags
# define _r pub._r
# define _w pub._w
-# elif defined __ANDROID__ /* Android */
+# elif defined __ANDROID_BUT_THIS_IS_BROKEN__ /* Android */
/* Up to this commit from 2015-10-12
<https://android.googlesource.com/platform/bionic.git/+/f0141dfab10a4b332769d52fa76631a64741297a>
the innards of FILE were public, and fp_ub could be defined like for OpenBSD,