gzip: update lib-stdio-impl.h.patch
This commit is contained in:
parent
3d0d30ba5a
commit
f9e4d34fee
@ -1,12 +1,21 @@
|
|||||||
diff -u -r gzip-1.10/lib/stdio-impl.h gzip-1.10.mod/lib/stdio-impl.h
|
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
|
||||||
--- gzip-1.10/lib/stdio-impl.h 2018-06-25 04:09:24.000000000 +0000
|
index 3fa94b4..2be01f3 100644
|
||||||
+++ gzip-1.10.mod/lib/stdio-impl.h 2019-01-03 00:28:58.881820632 +0000
|
--- a/lib/stdio-impl.h
|
||||||
@@ -60,7 +60,7 @@
|
+++ b/lib/stdio-impl.h
|
||||||
# define _flags pub._flags
|
@@ -77,6 +77,7 @@
|
||||||
# define _r pub._r
|
see <https://android.googlesource.com/platform/bionic.git/+/e78392637d5086384a5631ddfdfa8d7ec8326ee3/libc/stdio/fileext.h>
|
||||||
# define _w pub._w
|
and <https://android.googlesource.com/platform/bionic.git/+/e78392637d5086384a5631ddfdfa8d7ec8326ee3/libc/stdio/local.h>.
|
||||||
-# elif defined __ANDROID__ /* Android */
|
After this commit, the innards of FILE are hidden. */
|
||||||
+# elif defined __ANDROID_BUT_THIS_IS_BROKEN__ /* Android */
|
+#if 0
|
||||||
/* Up to this commit from 2015-10-12
|
# define fp_ ((struct { unsigned char *_p; \
|
||||||
<https://android.googlesource.com/platform/bionic.git/+/f0141dfab10a4b332769d52fa76631a64741297a>
|
int _r; \
|
||||||
the innards of FILE were public, and fp_ub could be defined like for OpenBSD,
|
int _w; \
|
||||||
|
@@ -99,7 +100,7 @@
|
||||||
|
fpos_t _offset; \
|
||||||
|
/* More fields, not relevant here. */ \
|
||||||
|
} *) fp)
|
||||||
|
-# else
|
||||||
|
+#endif
|
||||||
|
# define fp_ fp
|
||||||
|
# endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user