summaryrefslogtreecommitdiffstats
path: root/debian/patches/php8.2.patch
diff options
context:
space:
mode:
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
+ *