summaryrefslogtreecommitdiffstats
path: root/35.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 12:25:24 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 12:25:24 +0200
commit0156868cf50cba11b2646bc50d5313801d0715c0 (patch)
treeea6acf65318209840dcd2c7fc1422180a1100541 /35.patch
parentca8c6e848d16ed9d812991c6187b769898f3de7b (diff)
rebuild for PHP 8.0.0RC1
add patch from https://github.com/kjdev/php-ext-zstd/pull/35
Diffstat (limited to '35.patch')
-rw-r--r--35.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/35.patch b/35.patch
new file mode 100644
index 0000000..b14fd66
--- /dev/null
+++ b/35.patch
@@ -0,0 +1,36 @@
+From 729d8401bfba37a3ee558cd051a1a525b5301dbd Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 30 Sep 2020 12:22:49 +0200
+Subject: [PATCH] relax tests for 8.0.0R1C
+
+---
+ tests/002_b.phpt | 2 +-
+ tests/005_b.phpt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/002_b.phpt b/tests/002_b.phpt
+index ed0172d..8c4c329 100644
+--- a/tests/002_b.phpt
++++ b/tests/002_b.phpt
+@@ -29,7 +29,7 @@ try {
+ ===Done===
+ --EXPECTF--
+ *** Testing zstd_compress() function with Zero arguments ***
+-ArgumentCountError: zstd_compress() expects at least 1 parameter, 0 given in %s:%d
++ArgumentCountError: zstd_compress() expects at least 1 %s, 0 given in %s:%d
+ Stack trace:
+ #0 %s(%d): zstd_compress()
+ #1 {main}
+diff --git a/tests/005_b.phpt b/tests/005_b.phpt
+index afd9d19..dca21eb 100644
+--- a/tests/005_b.phpt
++++ b/tests/005_b.phpt
+@@ -33,7 +33,7 @@ try {
+ ===DONE===
+ --EXPECTF--
+ *** Testing zstd_uncompress() function with Zero arguments ***
+-ArgumentCountError: zstd_uncompress() expects exactly 1 parameter, 0 given in %s:%d
++ArgumentCountError: zstd_uncompress() expects exactly 1 %s, 0 given in %s:%d
+ Stack trace:
+ #0 %s(%d): zstd_uncompress()
+ #1 {main}