Files
packages/lang/php8/patches/1004-disable-phar-command.patch
Michael Heimpold 9ebb457377 php8: update to 8.4.5
This is a major upgrade to latest stable PHP version.

- IMAP extension was unbundled from PHP
- align patch filenames with latest ones from Debian
- removed obsolete patches
- adapted/refreshed patches
- added patch to remove call to httpd during configure
  Note: this assumes that 'prefork' mpm is used

Upstream changelog for this specific release:
https://www.php.net/ChangeLog-8.php#8.4.5

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-04-10 06:45:31 +02:00

33 lines
1.0 KiB
Diff

--- a/ext/phar/config.m4
+++ b/ext/phar/config.m4
@@ -30,7 +30,7 @@ if test "$PHP_PHAR" != "no"; then
PHP_ADD_EXTENSION_DEP(phar, hash)
PHP_ADD_EXTENSION_DEP(phar, spl)
- PHP_ADD_MAKEFILE_FRAGMENT
+ #PHP_ADD_MAKEFILE_FRAGMENT
PHP_INSTALL_HEADERS([ext/phar], [php_phar.h])
--- a/configure.ac
+++ b/configure.ac
@@ -1585,13 +1585,13 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)"
CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
-if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
- pharcmd=pharcmd
- pharcmd_install=install-pharcmd
-else
+#if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
+# pharcmd=pharcmd
+# pharcmd_install=install-pharcmd
+#else
pharcmd=
pharcmd_install=
-fi;
+#fi;
all_targets="\$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"