summaryrefslogtreecommitdiffstats
path: root/php-mcnetic-zipstreamer-warn.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-08 12:23:23 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-08 12:23:23 +0100
commit78e6d4f46b30cc87252275ed81099e634d5e7017 (patch)
treec58a72bde521c0c8b7444bb696bd8425dd24b5f1 /php-mcnetic-zipstreamer-warn.patch
php-mcnetic-zipstreamer: 1.7, new package
Diffstat (limited to 'php-mcnetic-zipstreamer-warn.patch')
-rw-r--r--php-mcnetic-zipstreamer-warn.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-mcnetic-zipstreamer-warn.patch b/php-mcnetic-zipstreamer-warn.patch
new file mode 100644
index 0000000..e96c1e7
--- /dev/null
+++ b/php-mcnetic-zipstreamer-warn.patch
@@ -0,0 +1,11 @@
+--- src/ZipStreamer.php.rpm 2016-01-08 12:15:06.445995538 +0100
++++ src/ZipStreamer.php 2016-01-08 12:15:32.810095324 +0100
+@@ -668,7 +668,7 @@
+ }
+
+ public function update($data) {
+- return $this->peclDeflateStream->update($data);
++ return ($data ? $this->peclDeflateStream->update($data) : @$this->peclDeflateStream->update($data));
+ }
+
+ public function finish() {