dcmtk: 3.6.7 -> 3.6.8

Fixes CVE-2022-43272.

Changes:
https://github.com/DCMTK/dcmtk/compare/DCMTK-3.6.7...DCMTK-3.6.8
This commit is contained in:
Thomas Gerbet 2024-01-06 23:03:08 +01:00
parent 127579d6f4
commit d99ca3f1cd
2 changed files with 2 additions and 17 deletions

View File

@ -1,12 +0,0 @@
diff --git a/CMake/dcmtk.pc.in b/CMake/dcmtk.pc.in
index 13c79c0d5..b1edf725c 100644
--- a/CMake/dcmtk.pc.in
+++ b/CMake/dcmtk.pc.in
@@ -1,6 +1,6 @@
prefix="@CMAKE_INSTALL_PREFIX@"
exec_prefix="${prefix}"
- libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@"
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@"
includedir="${prefix}/include/"
Name: DCMTK

View File

@ -4,20 +4,17 @@
with lib;
stdenv.mkDerivation rec {
pname = "dcmtk";
version = "3.6.7";
version = "3.6.8";
src = fetchFromGitHub {
owner = "DCMTK";
repo = pname;
rev = "DCMTK-${version}";
sha256 = "sha256-Pw99R6oGcLX6Z7s8ZnpbBBqcIvY9Rl/nw2PVGjpD3gY=";
hash = "sha256-PQR9+xSlfBvogv0p6AL/yapelJpsYteA4T4lPkOIfLc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libpng zlib libtiff libxml2 openssl libiconv ];
# This is only needed until https://github.com/DCMTK/dcmtk/pull/75/files is merged
patches = [ ./0001-Fix-cmake.patch ];
doCheck = true;
meta = {