diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-03 22:56:42 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-03 22:56:42 +0100 |
commit | 4f478af16d24fd9302af352be79514339371fb0b (patch) | |
tree | b514afd5eb5e5fcd4be907086c873fb62cdd6ed0 | |
parent | 303a4ae44a332bb693ef3f54f75a6e6bc63400c8 (diff) | |
download | php-git-4f478af16d24fd9302af352be79514339371fb0b.tar.gz |
Fix #80825: ZipArchive::isCompressionMethodSupported does not exist
`HAVE_METHOD_SUPPORTED` should have been defined after we updated to
libzip 1.7.1 months ago.
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | ext/zip/config.w32 | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -27,6 +27,10 @@ PHP NEWS . Fixed bug #78719 (http wrapper silently ignores long Location headers). (cmb) +- Zip: + . Fixed bug #80825 (ZipArchive::isCompressionMethodSupported does not exist). + (cmb) + 18 Feb 2021, PHP 8.0.3 - Core: diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index fa4f2df18c..7ea33766f1 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -16,7 +16,7 @@ if (PHP_ZIP != "no") { } AC_DEFINE('HAVE_ZIP', 1); - ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK /D HAVE_CANCEL_CALLBACK /D LZMA_API_STATIC"); + ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK /D HAVE_CANCEL_CALLBACK /D HAVE_METHOD_SUPPORTED /D LZMA_API_STATIC"); } else { WARNING("zip not enabled; libraries and headers not found"); } |