summaryrefslogtreecommitdiffstats
path: root/yaf-php83.patch
diff options
context:
space:
mode:
Diffstat (limited to 'yaf-php83.patch')
-rw-r--r--yaf-php83.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/yaf-php83.patch b/yaf-php83.patch
new file mode 100644
index 0000000..fc12b81
--- /dev/null
+++ b/yaf-php83.patch
@@ -0,0 +1,28 @@
+From 866f31e4916214dcafacbf2bb5035b6c046095aa Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 14 Sep 2023 13:15:59 +0200
+Subject: [PATCH] ZEND_HOT removed in 8.3
+
+---
+ php_yaf.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/php_yaf.h b/php_yaf.h
+index 3585421..9cd6e3a 100644
+--- a/php_yaf.h
++++ b/php_yaf.h
+@@ -260,6 +260,11 @@ static zend_always_inline uint32_t yaf_compose_2_pathes(char *buf, zend_string *
+ }
+ #endif
+
++/* removed in 8.3 */
++#ifndef ZEND_HOT
++#define ZEND_HOT
++#endif
++
+ /*
+ * Local variables:
+ * tab-width: 4
+--
+2.41.0
+