summaryrefslogtreecommitdiffstats
path: root/php-8.5.0-embed.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-25 09:44:57 +0200
committerRemi Collet <remi@php.net>2025-09-25 09:44:57 +0200
commit8c417f16dc08303619cc733c18e5275549223f83 (patch)
tree7ce5bcf16be66fc51284652f6390681e1df54fd2 /php-8.5.0-embed.patch
parentde7a1948c5b2cab56eab29e55d803c58acd58161 (diff)
update to 8.5.0RC1HEADmaster
bump ABI/API numbers to 20240925 drop opcache subpackage, extension is build statically add lexbor and uri extension (always static) move /usr/share/fpm/status.html to /usr/share/php/fpm/status.html
Diffstat (limited to 'php-8.5.0-embed.patch')
-rw-r--r--php-8.5.0-embed.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/php-8.5.0-embed.patch b/php-8.5.0-embed.patch
new file mode 100644
index 0000000..8df4a81
--- /dev/null
+++ b/php-8.5.0-embed.patch
@@ -0,0 +1,30 @@
+diff -up ./sapi/embed/config.m4.embed ./sapi/embed/config.m4
+--- ./sapi/embed/config.m4.embed 2025-06-03 18:29:26.000000000 +0200
++++ ./sapi/embed/config.m4 2025-06-05 07:18:33.662824247 +0200
+@@ -10,12 +10,12 @@ AC_MSG_CHECKING([for embedded SAPI libra
+ if test "$PHP_EMBED" != "no"; then
+ AS_CASE([$PHP_EMBED],
+ [yes|shared], [
+- LIBPHP_CFLAGS="-shared"
++ LIBPHP_CFLAGS="-shared -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
+ AS_CASE(["$host_alias"], [*darwin*], [
+ SAPI_SHARED="libs/libphp.dylib"
+ PHP_EMBED_TYPE=shared-dylib
+ ], [PHP_EMBED_TYPE=shared])
+- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(orig_libdir); \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(orig_libdir)"
++ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(orig_libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(orig_libdir)"
+ ],
+ [static], [
+ LIBPHP_CFLAGS="-static"
+diff -up ./scripts/php-config.in.embed ./scripts/php-config.in
+--- ./scripts/php-config.in.embed 2025-03-25 19:59:01.000000000 +0100
++++ ./scripts/php-config.in 2025-03-26 07:14:03.223870699 +0100
+@@ -19,7 +19,7 @@ exe_extension="@EXEEXT@"
+ php_cli_binary=NONE
+ php_cgi_binary=NONE
+ configure_options="@CONFIGURE_OPTIONS@"
+-php_sapis="@PHP_INSTALLED_SAPIS@"
++php_sapis="apache2handler litespeed phpdbg @PHP_INSTALLED_SAPIS@"
+ ini_dir="@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@"
+ ini_path="@EXPANDED_PHP_CONFIG_FILE_PATH@"
+ php_embed_type="@PHP_EMBED_TYPE@"