summaryrefslogtreecommitdiff
path: root/archivers/php84-zlib/files/patch-zlib.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-07-28 03:40:58 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-07-28 15:15:17 +0200
commit42db2c39e566955903a9176e0a4c4c7589d5aaca (patch)
tree1671a458d12a32d210dd96aaed03e7d0fcd2c11c /archivers/php84-zlib/files/patch-zlib.c
parentlang/php82: Update version 8.2.20=>8.2.21 (diff)
*/*php84*: 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.4.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.4.0alpha1/NEWS
Diffstat (limited to 'archivers/php84-zlib/files/patch-zlib.c')
-rw-r--r--archivers/php84-zlib/files/patch-zlib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/archivers/php84-zlib/files/patch-zlib.c b/archivers/php84-zlib/files/patch-zlib.c
new file mode 100644
index 000000000000..fb0e9e44311a
--- /dev/null
+++ b/archivers/php84-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);