changeset 5964:f82e32e67208

fix msvc build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Jan 2025 18:34:47 +0100
parents 49d5b3382ff9
children b5c9d08dcf40
files OrthancFramework/Resources/Patches/dcmtk-3.6.9.patch
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/Patches/dcmtk-3.6.9.patch	Thu Jan 16 18:29:48 2025 +0100
+++ b/OrthancFramework/Resources/Patches/dcmtk-3.6.9.patch	Thu Jan 16 18:34:47 2025 +0100
@@ -151,6 +151,19 @@
      this->setvbuf(NULL, _IOLBF, 0);
  #else
      :: setlinebuf(file_);
+diff -urEb dcmtk-3.6.9.orig/ofstd/include/dcmtk/ofstd/oftypes.h dcmtk-3.6.9/ofstd/include/dcmtk/ofstd/oftypes.h
+--- dcmtk-3.6.9.orig/ofstd/include/dcmtk/ofstd/oftypes.h	2025-01-16 18:04:46.148846202 +0100
++++ dcmtk-3.6.9/ofstd/include/dcmtk/ofstd/oftypes.h	2025-01-16 18:33:37.935316634 +0100
+@@ -82,7 +82,9 @@
+ #ifdef HAVE_STDINT_H
+ #include <stdint.h>
+ #endif
++#ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
++#endif
+ END_EXTERN_C
+ 
+ #include "dcmtk/ofstd/ofstream.h"
 diff -urEb dcmtk-3.6.9.orig/ofstd/libsrc/ofstub.cc dcmtk-3.6.9/ofstd/libsrc/ofstub.cc
 --- dcmtk-3.6.9.orig/ofstd/libsrc/ofstub.cc	2025-01-16 18:04:46.148846202 +0100
 +++ dcmtk-3.6.9/ofstd/libsrc/ofstub.cc	2025-01-16 18:06:15.963074668 +0100