termux-packages/packages/gzip/lib-stdio-impl.h.patch
2019-01-03 02:32:39 +01:00

13 lines
609 B
Diff

diff -u -r ../gzip-1.10/lib/stdio-impl.h ./lib/stdio-impl.h
--- ../gzip-1.10/lib/stdio-impl.h 2018-06-25 04:09:24.000000000 +0000
+++ ./lib/stdio-impl.h 2019-01-03 00:28:58.881820632 +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,