changeset 2509:9d9f2d088dce

upgrade to zlib 1.2.11
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Mar 2018 11:31:19 +0200
parents 91ee08d986f9
children 04873915beaf
files NEWS Resources/CMake/ZlibConfiguration.cmake UnitTestsSources/VersionsTests.cpp
diffstat 3 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Wed Mar 28 11:24:17 2018 +0200
+++ b/NEWS	Wed Mar 28 11:31:19 2018 +0200
@@ -29,13 +29,15 @@
 
 * Orthanc now uses UTC (universal time) instead of local time in its database
 * Fix to allow creating DICOM instances with empty Specific Character Set (0008,0005)
-* Upgrade to curl 7.57.0 for static and Windows builds
 * Support of Linux Standard Base
 * Static linking against libuuid (from e2fsprogs)
 * Fix static build on CentOS 6
-* Upgrade to JsonCpp 1.8.4 for static builds
 * Possibility of using JsonCpp 0.10.6 if the compiler does not support C++11
   with the "-DUSE_LEGACY_JSONCPP=ON" CMake option
+* Upgraded dependencies for static and Windows builds:
+  - curl 7.57.0
+  - jsoncpp 1.8.4
+  - zlib 1.2.11
 
 
 Version 1.3.1 (2017-11-29)
--- a/Resources/CMake/ZlibConfiguration.cmake	Wed Mar 28 11:24:17 2018 +0200
+++ b/Resources/CMake/ZlibConfiguration.cmake	Wed Mar 28 11:31:19 2018 +0200
@@ -1,7 +1,7 @@
 if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB)
-  SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7)
-  SET(ZLIB_URL "http://www.orthanc-server.com/downloads/third-party/zlib-1.2.7.tar.gz")
-  SET(ZLIB_MD5 "60df6a37c56e7c1366cca812414f7b85")
+  SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.11)
+  SET(ZLIB_URL "http://www.orthanc-server.com/downloads/third-party/zlib-1.2.11.tar.gz")
+  SET(ZLIB_MD5 "1c9f62f0778697a09d36121ead88e08e")
 
   DownloadPackage(${ZLIB_MD5} ${ZLIB_URL} "${ZLIB_SOURCES_DIR}")
 
--- a/UnitTestsSources/VersionsTests.cpp	Wed Mar 28 11:24:17 2018 +0200
+++ b/UnitTestsSources/VersionsTests.cpp	Wed Mar 28 11:31:19 2018 +0200
@@ -99,7 +99,7 @@
 
 TEST(Versions, ZlibStatic)
 {
-  ASSERT_STREQ("1.2.7", zlibVersion());
+  ASSERT_STREQ("1.2.11", zlibVersion());
 }
 
 TEST(Versions, BoostStatic)