Fixed bug #55544 (ob_gzhandler always conflicts with

zlib.output_compression).

PR:		ports/169637
Submitted by:	Andrei Lavreniyuk <andy.lavr@gmail.com>
This commit is contained in:
Alex Dupre 2012-07-09 13:33:59 +00:00
parent adbd093ff7
commit 1cdbbaa9e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300674
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 1
CATEGORIES= archivers
MASTERDIR= ${.CURDIR}/../../lang/php5

View File

@ -0,0 +1,10 @@
--- zlib.c.orig 2012-07-09 15:25:31.000000000 +0200
+++ zlib.c 2012-07-09 15:26:07.000000000 +0200
@@ -957,6 +957,7 @@
/* {{{ PHP_RINIT_FUNCTION */
static PHP_RINIT_FUNCTION(zlib)
{
+ ZLIBG(output_compression) = 0;
ZLIBG(compression_coding) = 0;
php_zlib_output_compression_start(TSRMLS_C);