Initial push
[termux-packages] / packages / gzip / stdio_impl_use_sfileext.patch
1 http://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00005.html
2
3 diff -u -r ../gzip-1.6/lib/stdio-impl.h ./lib/stdio-impl.h
4 --- ../gzip-1.6/lib/stdio-impl.h 2013-06-09 22:37:56.000000000 +0200
5 +++ ./lib/stdio-impl.h 2014-02-25 23:50:09.000000000 +0100
6 @@ -57,7 +57,7 @@
7 # define fp_ fp
8 # endif
9
10 -# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ /* NetBSD >= 1.5ZA, OpenBSD */
11 +# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __ANDROID__ /* NetBSD >= 1.5ZA, OpenBSD */
12 /* See <http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup>
13 and <http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup> */
14 struct __sfileext