CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
zlib: update to 1.2.7
[crossrootfs.git] / zlib / zlib-1.2.5-lfs-decls.patch
CommitLineData
b64780d0
VM
1http://bugs.gentoo.org/316377
2
3try to unbreak over-eager LFS logic in zlib header
4
5--- zlib-1.2.5/zlib.h
6+++ zlib-1.2.5/zlib.h
7@@ -1578,7 +1578,7 @@
8 # define gzoffset gzoffset64
9 # define adler32_combine adler32_combine64
10 # define crc32_combine crc32_combine64
11-# ifdef _LARGEFILE64_SOURCE
12+# ifndef _LARGEFILE64_SOURCE
13 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
14 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
15 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));