summaryrefslogtreecommitdiffstats
path: root/php-8.0.0-embed.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-11 14:46:18 +0200
committerRemi Collet <remi@remirepo.net>2020-09-11 14:46:18 +0200
commitc891bb332af826e14cfb28614b1b9fedf80ec47d (patch)
treecf69b72e62e42fa56507df9c980c3d7d77a568af /php-8.0.0-embed.patch
parentf252207863961c2e1431b6d0079fdbdd73b67f7f (diff)
update to 8.0.0beta3
bump ABI/API versions drop xmlrpc extension json is now build statically use system nikic/php-parser if available to generate C headers from PHP stub switch from "runselftest" option to bcond_without tests enchant: use libenchant-2 instead of libenchant rename 15-php.conf to 20-php.conf to ensure load order oci8 version is now 3.0.0
Diffstat (limited to 'php-8.0.0-embed.patch')
-rw-r--r--php-8.0.0-embed.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/php-8.0.0-embed.patch b/php-8.0.0-embed.patch
new file mode 100644
index 0000000..27533ea
--- /dev/null
+++ b/php-8.0.0-embed.patch
@@ -0,0 +1,25 @@
+diff -up ./sapi/embed/config.m4.embed ./sapi/embed/config.m4
+--- ./sapi/embed/config.m4.embed 2020-07-07 13:51:05.879764972 +0200
++++ ./sapi/embed/config.m4 2020-07-07 13:52:50.128412148 +0200
+@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
+ yes|shared)
+ LIBPHP_CFLAGS="-shared"
+ PHP_EMBED_TYPE=shared
+- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
++ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
++ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
+ ;;
+ static)
+ LIBPHP_CFLAGS="-static"
+diff -up ./scripts/php-config.in.embed ./scripts/php-config.in
+--- ./scripts/php-config.in.embed 2020-07-07 12:54:42.000000000 +0200
++++ ./scripts/php-config.in 2020-07-07 13:51:05.880764968 +0200
+@@ -18,7 +18,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 fpm phpdbg @PHP_INSTALLED_SAPIS@"
+ ini_dir="@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@"
+ ini_path="@EXPANDED_PHP_CONFIG_FILE_PATH@"
+