summaryrefslogtreecommitdiffstats
path: root/debian/patches/php8.2.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:42 +0000
commit977bf4fa9c1da2fa99e68000a0578483dd76df6c (patch)
tree312df05c67c2e31143454c1ba0ce06e426f64446 /debian/patches/php8.2.patch
parentAdding upstream version 0.11.0. (diff)
downloadicinga-php-thirdparty-debian.tar.xz
icinga-php-thirdparty-debian.zip
Adding debian version 0.11.0-2.debian/0.11.0-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/php8.2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/php8.2.patch b/debian/patches/php8.2.patch
new file mode 100644
index 0000000..6e272a8
--- /dev/null
+++ b/debian/patches/php8.2.patch
@@ -0,0 +1,15 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+
+--- a/vendor/guzzlehttp/psr7/src/CachingStream.php
++++ b/vendor/guzzlehttp/psr7/src/CachingStream.php
+@@ -20,6 +20,8 @@ class CachingStream implements StreamInt
+ /** @var int Number of bytes to skip reading due to a write on the buffer */
+ private $skipReadBytes = 0;
+
++ private $stream;
++
+ /**
+ * We will treat the buffer object as the body of the stream
+ *