aboutsummaryrefslogtreecommitdiff
path: root/archivers/php82-zlib
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 20:59:05 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 21:02:49 +0000
commit665b149d2692ff6926a092568304091995e07d39 (patch)
tree43733e6164a8fac2635af7542a26e80c2524c28c /archivers/php82-zlib
parent86d3a1352320828ae4d68b3a49ea1916d4ee3389 (diff)
Diffstat (limited to 'archivers/php82-zlib')
-rw-r--r--archivers/php82-zlib/Makefile7
-rw-r--r--archivers/php82-zlib/files/patch-zlib.c10
2 files changed, 17 insertions, 0 deletions
diff --git a/archivers/php82-zlib/Makefile b/archivers/php82-zlib/Makefile
new file mode 100644
index 000000000000..5b4e4ff90931
--- /dev/null
+++ b/archivers/php82-zlib/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -zlib
+
+.include "${MASTERDIR}/Makefile"
diff --git a/archivers/php82-zlib/files/patch-zlib.c b/archivers/php82-zlib/files/patch-zlib.c
new file mode 100644
index 000000000000..be02c50d1df6
--- /dev/null
+++ b/archivers/php82-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);