mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-23 14:52:47 +00:00
fix e2k build
This commit is contained in:
parent
9a37b5e6a1
commit
1b6344e8e7
2 changed files with 14 additions and 0 deletions
12
fix-include-e2k.patch
Normal file
12
fix-include-e2k.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c
|
||||
index 53efa865..d6975a44 100644
|
||||
--- a/ext/opcache/zend_accelerator_util_funcs.c
|
||||
+++ b/ext/opcache/zend_accelerator_util_funcs.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "zend_accelerator_util_funcs.h"
|
||||
#include "zend_persist.h"
|
||||
#include "zend_shared_alloc.h"
|
||||
+#include <immintrin.h>
|
||||
|
||||
#if SIZEOF_SIZE_T <= SIZEOF_ZEND_LONG
|
||||
/* If sizeof(void*) == sizeof(zend_ulong) we can use zend_hash index functions */
|
|
@ -88,6 +88,7 @@ Patch124: 0060-Fix-regression-introduced-by-fixing-bug-81726.patch
|
|||
Patch125: 0061-Fix-81727-Don-t-mangle-HTTP-variable-names-that-clas.patch
|
||||
# CVE-2022-37454
|
||||
Patch126: 0062-Fix-bug-81738-buffer-overflow-in-hash_update-on-long.patch
|
||||
Patch200: fix-include-e2k.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
@ -1283,6 +1284,7 @@ fi
|
|||
%patch124 -p1
|
||||
%patch125 -p1
|
||||
%patch126 -p1
|
||||
%patch200 -p1
|
||||
|
||||
cp %{SOURCE2} maxlifetime
|
||||
cp %{SOURCE3} php.crond
|
||||
|
|
Loading…
Add table
Reference in a new issue