aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/gdcm2/CONTROL2
-rw-r--r--ports/gdcm2/gdcmSystem.patch11
-rw-r--r--ports/gdcm2/portfile.cmake7
-rw-r--r--ports/gdcm2/socketxx.patch11
4 files changed, 15 insertions, 16 deletions
diff --git a/ports/gdcm2/CONTROL b/ports/gdcm2/CONTROL
index b39b3e19f..eacb3a839 100644
--- a/ports/gdcm2/CONTROL
+++ b/ports/gdcm2/CONTROL
@@ -1,4 +1,4 @@
Source: gdcm2
-Version: 2.6.8-1
+Version: 2.8.3
Description: Grassroots DICOM library
Build-Depends: zlib, expat
diff --git a/ports/gdcm2/gdcmSystem.patch b/ports/gdcm2/gdcmSystem.patch
deleted file mode 100644
index 63722c4f1..000000000
--- a/ports/gdcm2/gdcmSystem.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Source/Common/gdcmSystem.cxx
-+++ b/Source/Common/gdcmSystem.cxx
-@@ -977,7 +977,7 @@
- }
- }
- // We need to tell the user...
-- gdcmWarningMacro( "Could not find Charset from alias: " + alias );
-+ gdcmWarningMacro( std::string("Could not find Charset from alias: ") + alias );
- return NULL;
- }
- #endif //_WIN32
diff --git a/ports/gdcm2/portfile.cmake b/ports/gdcm2/portfile.cmake
index 0293ea714..7f7ba930b 100644
--- a/ports/gdcm2/portfile.cmake
+++ b/ports/gdcm2/portfile.cmake
@@ -14,15 +14,14 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO malaterre/GDCM
- REF v2.6.8
- SHA512 f3b571f7e00b42b444acd6d696ba1979b6ef83e84744ecddb05ad09d8d2443027145c50cb67c6bc25d6b8e009833b643e575ab988106cb981f529cf455a9b0bc
- HEAD_REF master
+ REF v2.8.3
+ SHA512 f8c3d600f067c9b60a32ff5fb7e751c06088e1e4a8e8d0f5e25d9fc7d49e8fab1f0242b10433f522d2043777cddace78c5a9c2cb25bac75a8e84fee554370f62
)
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/gdcmSystem.patch
+ ${CMAKE_CURRENT_LIST_DIR}/socketxx.patch
)
diff --git a/ports/gdcm2/socketxx.patch b/ports/gdcm2/socketxx.patch
new file mode 100644
index 000000000..0142910b1
--- /dev/null
+++ b/ports/gdcm2/socketxx.patch
@@ -0,0 +1,11 @@
+--- a/Utilities/socketxx/socket++/CMakeLists.txt
++++ b/Utilities/socketxx/socket++/CMakeLists.txt
+@@ -76,7 +76,7 @@
+ endif()
+ set_target_properties(${SOCKETXX_LIBRARY_NAME} PROPERTIES ${SOCKETXX_LIBRARY_PROPERTIES})
+ if(BUILD_SHARED_LIBS)
+- set_target_properties(${SOCKETXX_LIBRARY_NAME} PROPERTIES INTERFACE_LINK_LIBRARIES "" LINK_INTERFACE_LIBRARIES "")
++ set_target_properties(${SOCKETXX_LIBRARY_NAME} PROPERTIES INTERFACE_LINK_LIBRARIES "")
+ endif()
+
+ # Install library