summaryrefslogtreecommitdiff
path: root/archivers/php56-zlib/files/patch-zlib.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/php56-zlib/files/patch-zlib.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=419133
Diffstat (limited to 'archivers/php56-zlib/files/patch-zlib.c')
-rw-r--r--archivers/php56-zlib/files/patch-zlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/archivers/php56-zlib/files/patch-zlib.c b/archivers/php56-zlib/files/patch-zlib.c
index 0e88fee9c5bf..894ccdc71a29 100644
--- a/archivers/php56-zlib/files/patch-zlib.c
+++ b/archivers/php56-zlib/files/patch-zlib.c
@@ -1,10 +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 @@
+--- zlib.c.orig 2016-06-22 01:50:40 UTC
++++ zlib.c
+@@ -977,6 +977,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib)
/* {{{ PHP_RINIT_FUNCTION */
static PHP_RINIT_FUNCTION(zlib)
{
+ ZLIBG(output_compression) = 0;
ZLIBG(compression_coding) = 0;
-
- php_zlib_output_compression_start(TSRMLS_C);
+ if (!ZLIBG(handler_registered)) {
+ ZLIBG(output_compression) = ZLIBG(output_compression_default);