diff -ru zlib-orig/Portfile zlib/Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name zlib |
6 | | version 1.2.4 |
7 | | revision 1 |
| 6 | version 1.2.5 |
8 | 7 | categories archivers |
9 | 8 | maintainers landonf ryandesign openmaintainer |
10 | 9 | license zlib |
… |
… |
|
22 | 21 | master_sites ${homepage} \ |
23 | 22 | http://www.gzip.org/zlib/ |
24 | 23 | |
25 | | checksums md5 763c6a0b4ad1cdf5549e3ab3f140f4cb \ |
26 | | sha1 8cf10521c1927daa5e12efc5e1725a0d70e579f3 \ |
27 | | rmd160 8f0f17e33e36fa1427f8186b6d12cf5b2240294a |
| 24 | checksums md5 be1e89810e66150f5b0327984d8625a0 \ |
| 25 | sha1 543fa9abff0442edca308772d6cef85557677e02 \ |
| 26 | rmd160 c6c4c2a2a205061b21487e69234106f5517b4b32 |
28 | 27 | |
29 | 28 | patchfiles zlib.h.diff |
30 | 29 | |
diff -ru zlib-orig/files/zlib.h.diff zlib/files/zlib.h.diff
old
|
new
|
|
1 | | --- zlib.h.orig 2010-03-15 03:23:32.000000000 +1100 |
2 | | +++ zlib.h 2010-03-17 15:53:25.000000000 +1100 |
3 | | @@ -1565,7 +1565,7 @@ |
4 | | inflateBackInit_((strm), (windowBits), (window), \ |
5 | | ZLIB_VERSION, sizeof(z_stream)) |
6 | | |
| 1 | --- zlib.h.orig 2010-04-20 17:18:21.000000000 +0200 |
| 2 | +++ zlib.h 2010-04-20 17:24:21.000000000 +0200 |
| 3 | @@ -1562,7 +1562,7 @@ |
| 4 | * functions are changed to 64 bits) -- in case these are set on systems |
| 5 | * without large file support, _LFS64_LARGEFILE must also be true |
| 6 | */ |
7 | 7 | -#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 |
8 | 8 | +#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 && !defined(__APPLE__) |
9 | 9 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
10 | | ZEXTERN off64_t ZEXPORT gzseek64 OF((gzFile, off64_t, int)); |
11 | | ZEXTERN off64_t ZEXPORT gztell64 OF((gzFile)); |
12 | | @@ -1572,7 +1572,7 @@ |
| 10 | ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); |
| 11 | ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); |
| 12 | @@ -1578,7 +1578,7 @@ |
13 | 13 | # define gzoffset gzoffset64 |
14 | 14 | # define adler32_combine adler32_combine64 |
15 | 15 | # define crc32_combine crc32_combine64 |
16 | | -# ifndef _LARGEFILE64_SOURCE |
17 | | +# if !defined(_LARGEFILE64_SOURCE) || defined(__APPLE__) |
| 16 | -# ifdef _LARGEFILE64_SOURCE |
| 17 | +# ifdef _LARGEFILE64_SOURCE && !defined(__APPLE__) |
18 | 18 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
19 | | ZEXTERN off_t ZEXPORT gzseek64 OF((gzFile, off_t, int)); |
20 | | ZEXTERN off_t ZEXPORT gztell64 OF((gzFile)); |
| 19 | ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); |
| 20 | ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); |