diff --git a/add-missing-includes.patch b/add-missing-includes.patch new file mode 100644 index 0000000..241dfda --- /dev/null +++ b/add-missing-includes.patch @@ -0,0 +1,12 @@ +Index: ITK-5.3.0/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h +=================================================================== +--- ITK-5.3.0.orig/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h ++++ ITK-5.3.0/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h +@@ -20,6 +20,7 @@ + + #include + #include "ITKMathematicalMorphologyExport.h" ++#include + + + namespace itk diff --git a/insighttoolkit.changes b/insighttoolkit.changes index 82b8cc7..313e649 100644 --- a/insighttoolkit.changes +++ b/insighttoolkit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 10 21:28:42 UTC 2023 - Bjørn Lie + +- Add add-missing-includes.patch: Add missing #include . + Now exposed by gcc 13. + ------------------------------------------------------------------- Wed Jan 25 14:04:22 UTC 2023 - Thorsten Kukuk diff --git a/insighttoolkit.spec b/insighttoolkit.spec index 401b9a4..1456d7c 100644 --- a/insighttoolkit.spec +++ b/insighttoolkit.spec @@ -43,6 +43,9 @@ Summary: Toolkit for scientific image processing, segmentation, and regis License: Apache-2.0 URL: https://www.itk.org Source: https://github.com/InsightSoftwareConsortium/ITK/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM add-missing-includes.patch -- Add missing #include +Patch: add-missing-includes.patch + BuildRequires: CastXML-devel BuildRequires: bison BuildRequires: cmake