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
This commit is contained in:
Petr Gajdos 2023-03-06 12:56:29 +00:00 committed by Git OBS Bridge
parent d513fa5ad8
commit ea34d3430e
3 changed files with 42 additions and 0 deletions

36
gcc13-fix.patch Normal file
View File

@ -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 <ImfCheckFile.h>
#include <ImathConfig.h>
+#include <cstdint>
#include <iostream>
#include <fstream>
#include <string.h>
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 <cstdint>
#include <ImathBox.h>
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 <cstdint>
#include <ImathBox.h>
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 6 12:23:38 UTC 2023 - Martin Liška <mliska@suse.cz>
- Add upstream fix gcc13-fix.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 27 12:22:47 UTC 2023 - pgajdos@suse.com Mon Feb 27 12:22:47 UTC 2023 - pgajdos@suse.com

View File

@ -30,6 +30,7 @@ Group: Development/Libraries/C and C++
URL: https://www.openexr.com/ URL: https://www.openexr.com/
Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
Patch0: gcc13-fix.patch
BuildRequires: cmake >= 3.12 BuildRequires: cmake >= 3.12
BuildRequires: freeglut-devel BuildRequires: freeglut-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++