mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-10 07:15:08 -06:00
Fix building with GCC13 (required to build on Arch and Fedora) (#1220)
* Backport TBB fix to allow building on GCC13 * Fix OpenEXR build with GCC13 * Fix Clipper2 build with GCC13 --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
6108d8ee40
commit
e065809e3a
6 changed files with 140 additions and 91 deletions
31
deps/OpenEXR/0001-OpenEXR-GCC13.patch
vendored
Normal file
31
deps/OpenEXR/0001-OpenEXR-GCC13.patch
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
--- 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.h
|
||||
+++ b/OpenEXR/IlmImf/ImfHuf.h
|
||||
@@ -40,6 +40,8 @@
|
||||
#include "ImfExport.h"
|
||||
#include "ImfNamespace.h"
|
||||
|
||||
+#include <cstdint>
|
||||
+
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// 16-bit Huffman compression and decompression:
|
||||
--- a/OpenEXR/IlmImf/ImfMisc.h
|
||||
+++ b/OpenEXR/IlmImf/ImfMisc.h
|
||||
@@ -51,6 +51,7 @@
|
||||
#include "ImfForward.h"
|
||||
|
||||
#include <cstddef>
|
||||
+#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue