diff options
Diffstat (limited to 'archivers/php85-zlib')
-rw-r--r-- | archivers/php85-zlib/Makefile | 7 | ||||
-rw-r--r-- | archivers/php85-zlib/files/patch-zlib.c | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/archivers/php85-zlib/Makefile b/archivers/php85-zlib/Makefile new file mode 100644 index 000000000000..20f98d859d51 --- /dev/null +++ b/archivers/php85-zlib/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php85 + +PKGNAMESUFFIX= -zlib + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php85-zlib/files/patch-zlib.c b/archivers/php85-zlib/files/patch-zlib.c new file mode 100644 index 000000000000..fb0e9e44311a --- /dev/null +++ b/archivers/php85-zlib/files/patch-zlib.c @@ -0,0 +1,10 @@ +--- zlib.c.orig 2023-06-06 15:54:29 UTC ++++ zlib.c +@@ -1380,6 +1380,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); |