diff --git a/gcc13-fix.patch b/gcc13-fix.patch new file mode 100644 index 0000000..02d42fc --- /dev/null +++ b/gcc13-fix.patch @@ -0,0 +1,36 @@ +diff --git a/src/bin/exrcheck/main.cpp b/src/bin/exrcheck/main.cpp +index d9812e4..ac995af 100644 +--- a/src/bin/exrcheck/main.cpp ++++ b/src/bin/exrcheck/main.cpp +@@ -4,6 +4,7 @@ + #include + #include + ++#include + #include + #include + #include +diff --git a/src/lib/OpenEXR/ImfDeepTiledInputFile.h b/src/lib/OpenEXR/ImfDeepTiledInputFile.h +index b01330f..109bd65 100644 +--- a/src/lib/OpenEXR/ImfDeepTiledInputFile.h ++++ b/src/lib/OpenEXR/ImfDeepTiledInputFile.h +@@ -19,6 +19,7 @@ + + #include "ImfTileDescription.h" + ++#include + #include + + OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER +diff --git a/src/lib/OpenEXR/ImfDeepTiledInputPart.h b/src/lib/OpenEXR/ImfDeepTiledInputPart.h +index e5f950a..130153a 100644 +--- a/src/lib/OpenEXR/ImfDeepTiledInputPart.h ++++ b/src/lib/OpenEXR/ImfDeepTiledInputPart.h +@@ -10,6 +10,7 @@ + + #include "ImfTileDescription.h" + ++#include + #include + + OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER diff --git a/openexr.changes b/openexr.changes index 7b64e9d..6118d6e 100644 --- a/openexr.changes +++ b/openexr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 6 12:23:38 UTC 2023 - Martin Liška + +- Add upstream fix gcc13-fix.patch. + ------------------------------------------------------------------- Mon Feb 27 12:22:47 UTC 2023 - pgajdos@suse.com diff --git a/openexr.spec b/openexr.spec index af23096..3be63c4 100644 --- a/openexr.spec +++ b/openexr.spec @@ -30,6 +30,7 @@ Group: Development/Libraries/C and C++ URL: https://www.openexr.com/ Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz Source2: baselibs.conf +Patch0: gcc13-fix.patch BuildRequires: cmake >= 3.12 BuildRequires: freeglut-devel BuildRequires: gcc-c++