From: Anatol Belski Date: Fri, 1 Sep 2017 08:49:06 +0000 (+0200) Subject: Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive X-Git-Tag: php-7.2.0RC2~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6456f0a6cf33565c21f7d691c0f6672b7bc64b7;p=php Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive update NEWS --- diff --git a/NEWS b/NEWS index 300557386e..95612e39d5 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,10 @@ PHP NEWS - OpenSSL . Automatically load OpenSSL configuration file. (Jakub Zelenka) +- ZIP: + . Fixed bug #75143 (new method setEncryptionName() seems not to exist + in ZipArchive). (Anatol) + 31 Aug 2017, PHP 7.2.0RC1 - Core: diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 4a4107535d..906b65f677 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -16,7 +16,7 @@ if (PHP_ZIP != "no") { AC_DEFINE('HAVE_ZIP', 1); AC_DEFINE('HAVE_LIBZIP', 1); - ADD_FLAG("CFLAGS_ZIP", "/D _WIN32"); + ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_ENCRYPTION"); } else if (CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS_ZIP", "..\\zlib;" + PHP_ZIP) && CHECK_HEADER_ADD_INCLUDE("zipconf.h", "CFLAGS_ZIP", configure_module_dirname + "\\lib;" + PHP_ZIP) && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "zip", PHP_ZIP) || CHECK_LIB("zlib.lib", "zip", PHP_ZIP))) ||