summaryrefslogtreecommitdiffstats
path: root/469.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-10-09 09:23:29 +0200
committerRemi Collet <remi@remirepo.net>2019-10-09 09:23:29 +0200
commit0ce1f601ddb2c33b4f7a7b8a4143d301541562aa (patch)
treefedf57ca053c2a42eaa3238eb5b4ee93797f7e71 /469.patch
parentfd98973ecf0f748b4a6bbd7304fad3df87a00c73 (diff)
- add patch for PHP 7.4 from
https://github.com/sabre-io/vobject/pull/469
Diffstat (limited to '469.patch')
-rw-r--r--469.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/469.patch b/469.patch
new file mode 100644
index 0000000..eae0b20
--- /dev/null
+++ b/469.patch
@@ -0,0 +1,22 @@
+From 785981177a296b855d7318e87e095a0ea56f9715 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 9 Oct 2019 09:11:46 +0200
+Subject: [PATCH] fix Bad file descriptor (7.4)
+
+---
+ tests/VObject/Parser/MimeDirTest.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/VObject/Parser/MimeDirTest.php b/tests/VObject/Parser/MimeDirTest.php
+index 671c2306..30906885 100644
+--- a/tests/VObject/Parser/MimeDirTest.php
++++ b/tests/VObject/Parser/MimeDirTest.php
+@@ -16,7 +16,7 @@ class MimeDirTest extends TestCase
+ public function testParseError()
+ {
+ $mimeDir = new MimeDir();
+- $mimeDir->parse(fopen(__FILE__, 'a'));
++ $mimeDir->parse(fopen(__FILE__, 'a+'));
+ }
+
+ public function testDecodeLatin1()