From c0b9892033cb566ec6a0c6d0fe5ce4b97c4c88de Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 2 Jul 2025 11:54:37 +0200 Subject: */*php85*: Sunrise Please DO NOT use this version in production, it is an early test version. For upgrade notes please visit: https://github.com/php/php-src/blob/php-8.5.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.5.0alpha1/NEWS --- archivers/php85-zlib/Makefile | 7 +++++++ archivers/php85-zlib/files/patch-zlib.c | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 archivers/php85-zlib/Makefile create mode 100644 archivers/php85-zlib/files/patch-zlib.c (limited to 'archivers/php85-zlib') 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); -- cgit v1.2.3