]> git.pld-linux.org Git - packages/zlib.git/blob - zlib-lfs.patch
- new
[packages/zlib.git] / zlib-lfs.patch
1 Improper condition was introduced in 1.2.5 causing some applications
2 (e.g. cgit) to fail due to conflicting declarations.
3
4 References:
5 - http://mail.madler.net/pipermail/zlib-devel_madler.net/2010-May/002249.html
6 - http://bugs.debian.org/439980
7 - http://bugs.gentoo.org/show_bug.cgi?id=316377
8 - http://bugs.gentoo.org/show_bug.cgi?id=316855
9 - http://bugs.archlinux.org/task/19280
10 - https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/402178
11
12 --- zlib-1.2.5/zlib.h~  2010-04-20 06:12:48.000000000 +0200
13 +++ zlib-1.2.5/zlib.h   2010-05-23 22:11:29.241572099 +0200
14 @@ -1578,7 +1578,7 @@
15  #  define gzoffset gzoffset64
16  #  define adler32_combine adler32_combine64
17  #  define crc32_combine crc32_combine64
18 -#  ifdef _LARGEFILE64_SOURCE
19 +#  ifndef _LARGEFILE64_SOURCE
20       ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
21       ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
22       ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
This page took 0.066306 seconds and 3 git commands to generate.