changeset 5827:f2b532930e06

Grassroots DICOM: Add patch for compilation with gcc 11. * src/gdcm-3-gcc11.patch: Add missing include. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 09 Aug 2021 23:16:50 +0200
parents 5485edb45d70
children 7fdde32747cf
files dist-files.mk src/gdcm-3-gcc11.patch
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Mon Aug 09 22:03:16 2021 +0200
+++ b/dist-files.mk	Mon Aug 09 23:16:50 2021 +0200
@@ -125,6 +125,7 @@
   gdb.mk \
   gdcm-1-nosecapi.patch \
   gdcm-2-getopt.patch \
+  gdcm-3-gcc11.patch \
   gdcm.mk \
   gdk-pixbuf-1-fixes.patch \
   gdk-pixbuf.mk \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gdcm-3-gcc11.patch	Mon Aug 09 23:16:50 2021 +0200
@@ -0,0 +1,11 @@
+--- ./Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h.orig	2021-07-27 10:08:11.000000000 +0200
++++ ./Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h	2021-08-09 22:05:56.980228218 +0200
+@@ -14,6 +14,8 @@
+ #ifndef GDCMIMAGECHANGEPHOTOMETRICINTERPRETATION_H
+ #define GDCMIMAGECHANGEPHOTOMETRICINTERPRETATION_H
+ 
++#include <limits>
++
+ #include "gdcmImageToImageFilter.h"
+ #include "gdcmPhotometricInterpretation.h"
+