Fix missing #include for gcc-11
This commit is contained in:
parent
b5fb2b24a0
commit
d81ecaac60
24
0003-Fix-missing-include-for-gcc-11.patch
Normal file
24
0003-Fix-missing-include-for-gcc-11.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 00ee82e0fdbfb00545d776efd60f3016b95e45b4 Mon Sep 17 00:00:00 2001
|
||||
From: rpm-build <rpm-build>
|
||||
Date: Wed, 14 Oct 2020 08:18:34 -0600
|
||||
Subject: [PATCH] Fix missing include for gcc-11
|
||||
|
||||
---
|
||||
.../gdcmImageChangePhotometricInterpretation.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h b/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h
|
||||
index d55a5ee..798d3df 100644
|
||||
--- a/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h
|
||||
+++ b/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "gdcmImageToImageFilter.h"
|
||||
#include "gdcmPhotometricInterpretation.h"
|
||||
+#include <limits>
|
||||
|
||||
namespace gdcm
|
||||
{
|
||||
--
|
||||
2.28.0
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
Name: gdcm
|
||||
Version: 3.0.7
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files
|
||||
License: BSD
|
||||
URL: http://gdcm.sourceforge.net/wiki/index.php/Main_Page
|
||||
@ -14,6 +14,7 @@ Source1: http://downloads.sourceforge.net/project/gdcm/gdcmData/gdcmData/gdcm
|
||||
Patch1: 0001-3.0.1-Use-copyright.patch
|
||||
# Fix for 1687233
|
||||
Patch3: 0002-Fix-export-variables.patch
|
||||
Patch4: 0003-Fix-missing-include-for-gcc-11.patch
|
||||
|
||||
BuildRequires: CharLS-devel >= 2.0
|
||||
BuildRequires: cmake
|
||||
@ -261,6 +262,9 @@ make test -C %{__cmake_builddir} || exit 0
|
||||
%{python3_sitearch}/__pycache__/%{name}*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 14 2020 Jeff Law <law@redhat.com> - 3.0.7-5
|
||||
- Fix missing #include for gcc-11
|
||||
|
||||
* Sun Sep 13 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 3.0.7-4
|
||||
- use cmake macros and fix build
|
||||
- Enable tests
|
||||
|
Loading…
Reference in New Issue
Block a user