aboutsummaryrefslogtreecommitdiff
path: root/ports/gdcm
diff options
context:
space:
mode:
Diffstat (limited to 'ports/gdcm')
-rw-r--r--ports/gdcm/CONTROL2
-rw-r--r--ports/gdcm/portfile.cmake1
-rw-r--r--ports/gdcm/use-expat-config.patch13
3 files changed, 1 insertions, 15 deletions
diff --git a/ports/gdcm/CONTROL b/ports/gdcm/CONTROL
index e6d6b052d..aafb13a8d 100644
--- a/ports/gdcm/CONTROL
+++ b/ports/gdcm/CONTROL
@@ -1,6 +1,6 @@
Source: gdcm
Version: 3.0.5
-Port-Version: 1
+Port-Version: 2
Homepage: https://github.com/malaterre/GDCM
Description: Grassroots DICOM library
Build-Depends: zlib, expat, openjpeg
diff --git a/ports/gdcm/portfile.cmake b/ports/gdcm/portfile.cmake
index e9afedd3c..3edb205d7 100644
--- a/ports/gdcm/portfile.cmake
+++ b/ports/gdcm/portfile.cmake
@@ -12,7 +12,6 @@ vcpkg_from_github(
use-openjpeg-config.patch
fix-share-path.patch
Fix-Cmake_DIR.patch
- use-expat-config.patch
)
file(REMOVE ${SOURCE_PATH}/CMake/FindOpenJPEG.cmake)
diff --git a/ports/gdcm/use-expat-config.patch b/ports/gdcm/use-expat-config.patch
deleted file mode 100644
index 94a54e6c7..000000000
--- a/ports/gdcm/use-expat-config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 32786db..4215d25 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -426,7 +426,7 @@ endif()
-
- if(GDCM_USE_SYSTEM_EXPAT)
- # If user say so, then this is a requirement !
-- find_package(EXPAT REQUIRED)
-+ find_package(expat CONFIG REQUIRED)
- set(GDCM_EXPAT_LIBRARIES ${EXPAT_LIBRARIES})
- else()
- set(GDCM_EXPAT_LIBRARIES "gdcmexpat")