freebsd-ports/archivers/php80-zlib/files/patch-zlib.c
Torsten Zuehlsdorff 1061308ba7 Welcome PHP 8.0 RC 2 to the ports tree
There are many greater changes including:
- json is now part of core
- xmlrpc is removed
- More than 150 backward incompatible changes

Have a look at: https://github.com/php/php-src/blob/php-8.0.0RC2/UPGRADING

Reviewed by:	ale, mfechner, Pascal Christen
Sponsored by:	PHP Update Service
Differential Revision:	https://reviews.freebsd.org/D26848
2020-10-21 22:58:51 +00:00

10 lines
352 B
C

--- zlib.c.orig 2016-06-21 19:57:08 UTC
+++ zlib.c
@@ -1480,6 +1480,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib)
/* {{{ PHP_RINIT_FUNCTION */
static PHP_RINIT_FUNCTION(zlib)
{
+ ZLIBG(output_compression) = 0;
ZLIBG(compression_coding) = 0;
if (!ZLIBG(handler_registered)) {
ZLIBG(output_compression) = ZLIBG(output_compression_default);