Add header patch for GCC 13.
This commit is contained in:
parent
4254413fbd
commit
2f32d66dd7
12
openexr-cstdint.patch
Normal file
12
openexr-cstdint.patch
Normal 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;
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user