Ticket #24568: zlib-dir.diff

File zlib-dir.diff, 2.8 KB (added by hashar@…, 14 years ago)

unified diff for ./zlib/ directories

  • Portfile

    diff -ru zlib-orig/Portfile zlib/Portfile
    old new  
    33PortSystem              1.0
    44
    55name                    zlib
    6 version                 1.2.4
    7 revision                1
     6version                 1.2.5
    87categories              archivers
    98maintainers             landonf ryandesign openmaintainer
    109license                 zlib
     
    2221master_sites            ${homepage} \
    2322                        http://www.gzip.org/zlib/
    2423
    25 checksums               md5     763c6a0b4ad1cdf5549e3ab3f140f4cb \
    26                         sha1    8cf10521c1927daa5e12efc5e1725a0d70e579f3 \
    27                         rmd160  8f0f17e33e36fa1427f8186b6d12cf5b2240294a
     24checksums               md5    be1e89810e66150f5b0327984d8625a0 \
     25                        sha1   543fa9abff0442edca308772d6cef85557677e02 \
     26                        rmd160 c6c4c2a2a205061b21487e69234106f5517b4b32
    2827
    2928patchfiles              zlib.h.diff
    3029
  • files/zlib.h.diff

    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  */
    77-#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
    88+#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 && !defined(__APPLE__)
    99    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 @@
    1313 #  define gzoffset gzoffset64
    1414 #  define adler32_combine adler32_combine64
    1515 #  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__)
    1818      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));