diff options
Diffstat (limited to 'archivers/php73-zlib')
-rw-r--r-- | archivers/php73-zlib/Makefile | 11 | ||||
-rw-r--r-- | archivers/php73-zlib/files/patch-zlib.c | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/archivers/php73-zlib/Makefile b/archivers/php73-zlib/Makefile new file mode 100644 index 000000000000..3eeb4b97afae --- /dev/null +++ b/archivers/php73-zlib/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php73 + +PKGNAMESUFFIX= -zlib + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php73-zlib/files/patch-zlib.c b/archivers/php73-zlib/files/patch-zlib.c new file mode 100644 index 000000000000..be02c50d1df6 --- /dev/null +++ b/archivers/php73-zlib/files/patch-zlib.c @@ -0,0 +1,10 @@ +--- 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); |