Browse Source

gzip: Add patch to disable broken FILE fields

android-5
Fredrik Fornwall 6 years ago
parent
commit
ccb08500c4
  1. 12
      packages/gzip/lib-stdio-impl.h.patch

12
packages/gzip/lib-stdio-impl.h.patch

@ -0,0 +1,12 @@
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,
Loading…
Cancel
Save