aboutsummaryrefslogtreecommitdiffstats
path: root/community/php8-pecl-yaml/fix-81.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/php8-pecl-yaml/fix-81.patch')
-rw-r--r--community/php8-pecl-yaml/fix-81.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/community/php8-pecl-yaml/fix-81.patch b/community/php8-pecl-yaml/fix-81.patch
deleted file mode 100644
index 4dcfd171649..00000000000
--- a/community/php8-pecl-yaml/fix-81.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From ebdaa4af4b51979348947eaabac0fa746fbf6aa0 Mon Sep 17 00:00:00 2001
-From: Andy Postnikov <apostnikov@gmail.com>
-Date: Thu, 22 Jul 2021 05:43:43 +0300
-Subject: [PATCH] Fix build on PHP 8.1
-
----
- detect.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/detect.c b/detect.c
-index 1d650f7..d9675af 100644
---- a/detect.c
-+++ b/detect.c
-@@ -542,7 +542,11 @@ scalar_is_numeric(const char *value, size_t length, zend_long *lval,
- break;
-
- default:
-+#if PHP_VERSION_ID >= 80100
-+ *lval = ZEND_ATOL(buf);
-+#else
- ZEND_ATOL(*lval, buf);
-+#endif
- break;
- }
-