summaryrefslogtreecommitdiffstats
path: root/build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build.patch')
-rw-r--r--build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..b4b9950
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,19 @@
+--- ./phalcon.zep.c.old 2021-09-07 14:01:41.790270964 +0200
++++ ./phalcon.zep.c 2021-09-07 14:01:46.532264202 +0200
+@@ -88,6 +88,16 @@
+ #include <ext/json/php_json.h>
+ #include <ext/session/php_session.h>
+
++#if PHP_VERSION_ID >= 80000
++#include <ext/psr/psr_http_message.h>
++#include <ext/psr/psr_simple_cache.h>
++#include <ext/psr/psr_container.h>
++#include <ext/psr/psr_log.h>
++#include <ext/psr/psr_link.h>
++#include <ext/psr/psr_http_server_middleware.h>
++#include <ext/psr/psr_http_server_handler.h>
++#endif
++
+ #include <Zend/zend_API.h>
+ #include <Zend/zend_operators.h>
+ #include <Zend/zend_exceptions.h>