summaryrefslogtreecommitdiffstats
path: root/19301.patch
diff options
context:
space:
mode:
Diffstat (limited to '19301.patch')
-rw-r--r--19301.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/19301.patch b/19301.patch
new file mode 100644
index 0000000..d440311
--- /dev/null
+++ b/19301.patch
@@ -0,0 +1,36 @@
+From 60f5e26274ca8f3afdc2ed50b402b006f2f33a38 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 30 Jul 2025 09:42:02 +0200
+Subject: [PATCH] Fix GH-19298 missing libraries for opcache
+
+---
+ ext/opcache/config.m4 | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
+index 75a5a219cb53..e9ce51bbd227 100644
+--- a/ext/opcache/config.m4
++++ b/ext/opcache/config.m4
+@@ -85,7 +85,7 @@ AS_VAR_IF([PHP_OPCACHE_JIT], [yes], [
+ AS_VAR_IF([PHP_CAPSTONE], [yes],
+ [PKG_CHECK_MODULES([CAPSTONE], [capstone >= 3.0.0], [
+ AC_DEFINE([HAVE_CAPSTONE], [1], [Define to 1 if Capstone is available.])
+- PHP_EVAL_LIBLINE([$CAPSTONE_LIBS], [OPCACHE_SHARED_LIBADD])
++ PHP_EVAL_LIBLINE([$CAPSTONE_LIBS])
+ PHP_EVAL_INCLINE([$CAPSTONE_CFLAGS])
+ ZEND_JIT_SRC="$ZEND_JIT_SRC jit/ir/ir_disasm.c"
+ ])])
+@@ -318,7 +318,7 @@ AS_VAR_IF([php_cv_shm_mmap_posix], [yes], [
+ AC_DEFINE([HAVE_SHM_MMAP_POSIX], [1],
+ [Define to 1 if you have the POSIX mmap() SHM support.])
+ AS_CASE([$ac_cv_search_shm_open], ["none required"|no], [],
+- [PHP_EVAL_LIBLINE([$ac_cv_search_shm_open], [OPCACHE_SHARED_LIBADD])])
++ [PHP_EVAL_LIBLINE([$ac_cv_search_shm_open])])
+ ])
+
+ PHP_NEW_EXTENSION([opcache], m4_normalize([
+@@ -361,4 +361,3 @@ AS_VAR_IF([PHP_OPCACHE_JIT], [yes], [
+ ])
+ PHP_ADD_MAKEFILE_FRAGMENT([$ext_srcdir/jit/Makefile.frag])
+ ])
+-PHP_SUBST([OPCACHE_SHARED_LIBADD])