[6.0] 2b4b70703 Try to fix vgz at sunos

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Oct 17 21:28:10 UTC 2023


commit 2b4b707030c0b6bd7f9cc1673390edd4da8ffbe1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Apr 8 10:48:31 2022 +0000

    Try to fix vgz at sunos

diff --git a/lib/libvgz/vgz.h b/lib/libvgz/vgz.h
index 861844d81..b259aac34 100644
--- a/lib/libvgz/vgz.h
+++ b/lib/libvgz/vgz.h
@@ -1864,9 +1864,10 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file));  /* backward compatibility */
    ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
    ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
    ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
-   ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off64_t));
 #endif
 
+ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off64_t));
+
 #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
 #  ifdef Z_PREFIX_SET
 #    define z_gzopen z_gzopen64
@@ -1902,7 +1903,6 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file));  /* backward compatibility */
    ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
    ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
    ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
-   ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off_t));
 #endif
 
 #else /* Z_SOLO */


More information about the varnish-commit mailing list