termux-packages/packages/gzip/stdio_impl_use_sfileext.patch

15 lines
823 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
http://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00005.html
diff -u -r ../gzip-1.6/lib/stdio-impl.h ./lib/stdio-impl.h
--- ../gzip-1.6/lib/stdio-impl.h 2013-06-09 22:37:56.000000000 +0200
+++ ./lib/stdio-impl.h 2014-02-25 23:50:09.000000000 +0100
@@ -57,7 +57,7 @@
# define fp_ fp
# endif
-# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ /* NetBSD >= 1.5ZA, OpenBSD */
+# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __ANDROID__ /* NetBSD >= 1.5ZA, OpenBSD */
/* See <http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup>
and <http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup> */
struct __sfileext