summaryrefslogtreecommitdiffstats
path: root/php-7.0.0-oldpcre.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-02 10:37:14 +0200
committerRemi Collet <remi@php.net>2022-09-02 10:37:14 +0200
commitc275578ce46d661552e642c8f21dd68eabd427db (patch)
tree0bcd72776f7a8b86895d5f8a8194237b707a9d53 /php-7.0.0-oldpcre.patch
parentb8a8e0dcae66482c106ba134f3f2a9fc2bc0b163 (diff)
update to 8.2.0RC1
bump API/ABI new random extension add dependency on libselinux
Diffstat (limited to 'php-7.0.0-oldpcre.patch')
-rw-r--r--php-7.0.0-oldpcre.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/php-7.0.0-oldpcre.patch b/php-7.0.0-oldpcre.patch
new file mode 100644
index 0000000..19f8064
--- /dev/null
+++ b/php-7.0.0-oldpcre.patch
@@ -0,0 +1,20 @@
+diff -up ./ext/pcre/tests/bug37911.phpt.pcre834 ./ext/pcre/tests/bug37911.phpt
+--- ./ext/pcre/tests/bug37911.phpt.pcre834 2014-03-26 14:10:18.285452752 +0100
++++ ./ext/pcre/tests/bug37911.phpt 2014-03-26 14:10:40.028526763 +0100
+@@ -37,5 +37,5 @@ array(3) {
+ string(4) "blub"
+ }
+
+-Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
++Warning: preg_replace_callback(): Numeric named subpatterns are not allowed in %sbug37911.php on line %d
+ NULL
+diff -up ./ext/pcre/tests/match_flags3.phpt.pcre834 ./ext/pcre/tests/match_flags3.phpt
+--- ./ext/pcre/tests/match_flags3.phpt.pcre834 2014-03-26 14:06:48.792739665 +0100
++++ ./ext/pcre/tests/match_flags3.phpt 2014-03-26 14:07:31.820886128 +0100
+@@ -42,5 +42,5 @@ array(1) {
+ }
+ }
+
+-Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
++Warning: preg_match(): Numeric named subpatterns are not allowed in %smatch_flags3.php on line %d
+ bool(false)