diff options
author | Remi Collet <remi@remirepo.net> | 2025-07-30 10:13:46 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-07-30 10:13:46 +0200 |
commit | 24b4f20486d9b456f28fee8eab1e1b0522bcb424 (patch) | |
tree | 560550e60b1b6d055aa804bdd4011bc1495b241e /19301.patch | |
parent | 7262ed1b8c5b4bad0c1b1fdbc4293ab053842720 (diff) |
update to 8.5.0alpha3
bump dependency on php-nikic-php-parser5 5.6
drop opcache subpackage, extension is build statically
fix missing libraries for opcache using patch from
https://github.com/php/php-src/pull/19301
Diffstat (limited to '19301.patch')
-rw-r--r-- | 19301.patch | 36 |
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]) |