]> granicus.if.org Git - php/commitdiff
Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive
authorAnatol Belski <ab@php.net>
Fri, 1 Sep 2017 08:49:06 +0000 (10:49 +0200)
committerAnatol Belski <ab@php.net>
Fri, 1 Sep 2017 08:53:09 +0000 (10:53 +0200)
update NEWS

NEWS
ext/zip/config.w32

diff --git a/NEWS b/NEWS
index 300557386efe614b029aa2dc30ae9f7a5e61e7ec..95612e39d53602ce6c182101d29d04f1cefff376 100644 (file)
--- 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:
index 4a4107535d8c68757d394088547ef2537ab030a8..906b65f67714ee0431ca0f64987403fc23ae6828 100644 (file)
@@ -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))) ||