Add header patch for GCC 13.

This commit is contained in:
Richard Shaw 2023-01-23 21:44:54 -06:00
parent 4254413fbd
commit 2f32d66dd7
2 changed files with 14 additions and 0 deletions

12
openexr-cstdint.patch Normal file
View File

@ -0,0 +1,12 @@
Index: openexr-3.1.5/src/bin/exrcheck/main.cpp
===================================================================
--- openexr-3.1.5.orig/src/bin/exrcheck/main.cpp
+++ openexr-3.1.5/src/bin/exrcheck/main.cpp
@@ -13,6 +13,7 @@
# include <unistd.h>
#endif
#include <vector>
+#include <cstdint>
using namespace OPENEXR_IMF_NAMESPACE;
using std::cout;

View File

@ -10,6 +10,8 @@ License: BSD
URL: https://www.openexr.com/ URL: https://www.openexr.com/
Source0: https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: openexr-cstdint.patch
BuildRequires: cmake gcc gcc-c++ BuildRequires: cmake gcc gcc-c++
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: imath-devel BuildRequires: imath-devel