From ea34d3430e55d319365508f22f46e45974eb8307ef8dcba7c07cc512ed7389bc Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 6 Mar 2023 12:56:29 +0000 Subject: [PATCH] Accepting request 1069628 from home:marxin:branches:graphics - Add upstream fix gcc13-fix.patch. OBS-URL: https://build.opensuse.org/request/show/1069628 OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=90 --- gcc13-fix.patch | 36 ++++++++++++++++++++++++++++++++++++ openexr.changes | 5 +++++ openexr.spec | 1 + 3 files changed, 42 insertions(+) create mode 100644 gcc13-fix.patch 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++