From ccb08500c4e5475195d50f14fe68ee27244c62fe Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 3 Jan 2019 02:32:39 +0100 Subject: [PATCH] gzip: Add patch to disable broken FILE fields --- packages/gzip/lib-stdio-impl.h.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/gzip/lib-stdio-impl.h.patch diff --git a/packages/gzip/lib-stdio-impl.h.patch b/packages/gzip/lib-stdio-impl.h.patch new file mode 100644 index 000000000..2275ffaa7 --- /dev/null +++ b/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 + + the innards of FILE were public, and fp_ub could be defined like for OpenBSD,