d55edbca4a
Without the change `openexr` build on `gcc-13` fails as: [ 99%] Building CXX object src/test/OpenEXRTest/CMakeFiles/OpenEXRTest.dir/testInputPart.cpp.o openexr/src/bin/exrcheck/main.cpp: In function 'bool exrCheck(const char*, bool, bool, bool, bool)': openexr/src/bin/exrcheck/main.cpp:65:15: error: 'uintptr_t' does not name a type 65 | const uintptr_t kMaxSize = uintptr_t (-1) / 4; | ^~~~~~~~~
33 lines
885 B
Diff
33 lines
885 B
Diff
https://github.com/AcademySoftwareFoundation/openexr/pull/1264
|
|
https://github.com/AcademySoftwareFoundation/openexr/commit/d0088a3c6943a9a53fc24e29885414d082d531fe.patch
|
|
|
|
--- a/OpenEXR/IlmImf/ImfDwaCompressor.cpp
|
|
+++ b/OpenEXR/IlmImf/ImfDwaCompressor.cpp
|
|
@@ -159,6 +159,7 @@
|
|
#include <limits>
|
|
|
|
#include <cstddef>
|
|
+#include <cstdint>
|
|
|
|
|
|
// Windows specific addition to prevent the indirect import of the redefined min/max macros
|
|
--- a/OpenEXR/IlmImf/ImfHuf.cpp
|
|
+++ b/OpenEXR/IlmImf/ImfHuf.cpp
|
|
@@ -53,6 +53,7 @@
|
|
#include <cstring>
|
|
#include <cassert>
|
|
#include <algorithm>
|
|
+#include <cstdint>
|
|
|
|
|
|
using namespace std;
|
|
--- a/OpenEXR/IlmImf/ImfMisc.cpp
|
|
+++ b/OpenEXR/IlmImf/ImfMisc.cpp
|
|
@@ -52,6 +52,7 @@
|
|
#include <ImfConvert.h>
|
|
#include <ImfPartType.h>
|
|
#include <ImfTileDescription.h>
|
|
+#include <cstdint>
|
|
#include "ImfNamespace.h"
|
|
|
|
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
|