forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/lib3mf: Fix compilation on GCC 15
- Tests pass - Patched file is not an installed header Note: Upstream PR fixes an additional file that does not error on 2.2.0 Upstream: 3MFConsortium/lib3mf#387 Closes: https://bugs.gentoo.org/937423 Signed-off-by: Christopher Fore <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
media-libs/lib3mf/files/lib3mf-2.2.0-include-cstdint.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp b/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp | ||
index 43fd428..e966aa0 100644 | ||
--- a/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp | ||
+++ b/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp | ||
@@ -35,6 +35,8 @@ This is a platform independent class for keeping data in a memory stream that ow | ||
#include "Common/NMR_Exception.h" | ||
#include "Common/NMR_Exception_Windows.h" | ||
|
||
+#include <cstdint> | ||
+ | ||
namespace NMR { | ||
|
||
CImportStream_Unique_Memory::CImportStream_Unique_Memory() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters